From b962029fa8b9e1114729858a5c179e5ee8b9216b Mon Sep 17 00:00:00 2001 From: Xiaolong Zhang Date: Mon, 30 Sep 2024 03:46:29 +0800 Subject: [PATCH] ddns-scripts: add colon char in DNS_CHARSET The IPv6 address is separated by ':' instead of '.', so we need to add ':' in DNS_CHARSET. See: 'https://github.com/openwrt/packages/issues/25051' Fixes: #25051 Signed-off-by: Florian Eckert * bump PKG_RELEASE * update commit message Signed-off-by: Xiaolong Zhang --- net/ddns-scripts/Makefile | 2 +- net/ddns-scripts/files/usr/lib/ddns/dynamic_dns_functions.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/net/ddns-scripts/Makefile b/net/ddns-scripts/Makefile index e3d67b5a39..cb6b7351b5 100644 --- a/net/ddns-scripts/Makefile +++ b/net/ddns-scripts/Makefile @@ -8,7 +8,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=ddns-scripts PKG_VERSION:=2.8.2 -PKG_RELEASE:=50 +PKG_RELEASE:=51 PKG_LICENSE:=GPL-2.0 diff --git a/net/ddns-scripts/files/usr/lib/ddns/dynamic_dns_functions.sh b/net/ddns-scripts/files/usr/lib/ddns/dynamic_dns_functions.sh index f952396e0f..c628ca1b23 100644 --- a/net/ddns-scripts/files/usr/lib/ddns/dynamic_dns_functions.sh +++ b/net/ddns-scripts/files/usr/lib/ddns/dynamic_dns_functions.sh @@ -72,7 +72,7 @@ IPV6_REGEX="\(\([0-9A-Fa-f]\{1,4\}:\)\{1,\}\)\(\([0-9A-Fa-f]\{1,4\}\)\{0,1\}\)\( SHELL_ESCAPE="[\"\'\`\$\!();><{}?|\[\]\*\\\\]" # dns character set. "-" must be the last character -DNS_CHARSET="[@a-zA-Z0-9._-]" +DNS_CHARSET="[@a-zA-Z0-9.:_-]" # domains can have * for wildcard. "-" must be the last character DNS_CHARSET_DOMAIN="[@a-zA-Z0-9._*-]" -- 2.30.2