Merge pull request #2438 from stintel/ddns
ddns-scripts: uclient-fetch supports -4/-6
This commit is contained in:
commit
bb75ed263d
2 changed files with 5 additions and 4 deletions
|
@ -12,7 +12,7 @@ PKG_NAME:=ddns-scripts
|
||||||
PKG_VERSION:=2.6.2
|
PKG_VERSION:=2.6.2
|
||||||
# Release == build
|
# Release == build
|
||||||
# increase on changes of services files or tld_names.dat
|
# increase on changes of services files or tld_names.dat
|
||||||
PKG_RELEASE:=2
|
PKG_RELEASE:=3
|
||||||
|
|
||||||
PKG_LICENSE:=GPL-2.0
|
PKG_LICENSE:=GPL-2.0
|
||||||
PKG_MAINTAINER:=Christian Schoenebeck <christian.schoenebeck@gmail.com>
|
PKG_MAINTAINER:=Christian Schoenebeck <christian.schoenebeck@gmail.com>
|
||||||
|
|
|
@ -721,9 +721,10 @@ do_transfer() {
|
||||||
# force network/ip not supported
|
# force network/ip not supported
|
||||||
[ -n "$__BINDIP" ] && \
|
[ -n "$__BINDIP" ] && \
|
||||||
write_log 14 "uclient-fetch: FORCE binding to specific address not supported"
|
write_log 14 "uclient-fetch: FORCE binding to specific address not supported"
|
||||||
# force ip version not supported
|
# force ip version to use
|
||||||
[ $force_ipversion -eq 1 ] && \
|
if [ $force_ipversion -eq 1 ]; then
|
||||||
write_log 14 "uclient-fetch: Force connecting to IPv4 or IPv6 addresses not supported"
|
[ $use_ipv6 -eq 0 ] && __PROG="$__PROG -4" || __PROG="$__PROG -6" # force IPv4/IPv6
|
||||||
|
fi
|
||||||
# https possibly not supported
|
# https possibly not supported
|
||||||
[ $use_https -eq 1 -a ! -f /lib/libustream-ssl.so ] && \
|
[ $use_https -eq 1 -a ! -f /lib/libustream-ssl.so ] && \
|
||||||
write_log 14 "uclient-fetch: no HTTPS support! Additional install one of ustream-ssl packages"
|
write_log 14 "uclient-fetch: no HTTPS support! Additional install one of ustream-ssl packages"
|
||||||
|
|
Loading…
Reference in a new issue