Skip to content

Commit

Permalink
Merge pull request #15664 from looi/fix_ddns_dash
Browse files Browse the repository at this point in the history
ddns-scripts: Fix for domains with dash
  • Loading branch information
feckert authored May 20, 2021
2 parents 5c9ab1f + 9e2aad3 commit 8ae2b12
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion net/ddns-scripts/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ include $(TOPDIR)/rules.mk

PKG_NAME:=ddns-scripts
PKG_VERSION:=2.8.2
PKG_RELEASE:=8
PKG_RELEASE:=9

PKG_LICENSE:=GPL-2.0

Expand Down
6 changes: 3 additions & 3 deletions net/ddns-scripts/files/usr/lib/ddns/dynamic_dns_functions.sh
Original file line number Diff line number Diff line change
Expand Up @@ -70,11 +70,11 @@ IPV6_REGEX="\(\([0-9A-Fa-f]\{1,4\}:\)\{1,\}\)\(\([0-9A-Fa-f]\{1,4\}\)\{0,1\}\)\(
# characters that are dangerous to pass to a shell command line
SHELL_ESCAPE="[\"\'\`\$\!();><{}?|\[\]\*\\\\]"

# dns character set
# dns character set. "-" must be the last character
DNS_CHARSET="[@a-zA-Z0-9._-]"

# domains can have * for wildcard
DNS_CHARSET_DOMAIN="[@a-zA-Z0-9._-*]"
# domains can have * for wildcard. "-" must be the last character
DNS_CHARSET_DOMAIN="[@a-zA-Z0-9._*-]"

# detect if called by ddns-lucihelper.sh script, disable retrys (empty variable == false)
LUCI_HELPER=$(printf %s "$MYPROG" | grep -i "luci")
Expand Down

0 comments on commit 8ae2b12

Please sign in to comment.