Browse Source

Merge pull request #8496 from ja-pa/ddns-scripts-fix

ddns-scripts: add hsts-file parameter to wget call
lilik-openwrt-22.03
Dirk Brenken 6 years ago
committed by GitHub
parent
commit
ffe6b67abc
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions
  1. +1
    -1
      net/ddns-scripts/Makefile
  2. +1
    -1
      net/ddns-scripts/files/dynamic_dns_functions.sh

+ 1
- 1
net/ddns-scripts/Makefile View File

@ -12,7 +12,7 @@ PKG_NAME:=ddns-scripts
PKG_VERSION:=2.7.8 PKG_VERSION:=2.7.8
# 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:=6
PKG_RELEASE:=7
PKG_LICENSE:=GPL-2.0 PKG_LICENSE:=GPL-2.0
PKG_MAINTAINER:= PKG_MAINTAINER:=


+ 1
- 1
net/ddns-scripts/files/dynamic_dns_functions.sh View File

@ -698,7 +698,7 @@ do_transfer() {
# lets prefer GNU Wget because it does all for us - IPv4/IPv6/HTTPS/PROXY/force IP version # lets prefer GNU Wget because it does all for us - IPv4/IPv6/HTTPS/PROXY/force IP version
if [ -n "$WGET_SSL" -a $USE_CURL -eq 0 ]; then # except global option use_curl is set to "1" if [ -n "$WGET_SSL" -a $USE_CURL -eq 0 ]; then # except global option use_curl is set to "1"
__PROG="$WGET_SSL -nv -t 1 -O $DATFILE -o $ERRFILE" # non_verbose no_retry outfile errfile
__PROG="$WGET_SSL --hsts-file=/tmp/.wget-hsts -nv -t 1 -O $DATFILE -o $ERRFILE" # non_verbose no_retry outfile errfile
# force network/ip to use for communication # force network/ip to use for communication
if [ -n "$bind_network" ]; then if [ -n "$bind_network" ]; then
local __BINDIP local __BINDIP


Loading…
Cancel
Save