summaryrefslogtreecommitdiff
path: root/net/https-dns-proxy
diff options
context:
space:
mode:
authorStan Grishin <stangri@melmac.ca>2022-10-04 15:06:09 -0700
committerGitHub <noreply@github.com>2022-10-04 15:06:09 -0700
commit45f4b0e3e28144855dafe7713d372c2738186bcc (patch)
tree27fe3dc62a28aa344ee76a71adae9525d51344c0 /net/https-dns-proxy
parent845d81ca0976c82829addc23e9e8b95885c910ee (diff)
parentf99ada410fa799b419ca7819ed2bbcf779ec3d12 (diff)
Merge pull request #19525 from stangri/master-https-dns-proxy
https-dns-proxy: bugfix: prevent canary domains duplicates
Diffstat (limited to 'net/https-dns-proxy')
-rw-r--r--net/https-dns-proxy/Makefile2
-rwxr-xr-xnet/https-dns-proxy/files/https-dns-proxy.init2
2 files changed, 2 insertions, 2 deletions
diff --git a/net/https-dns-proxy/Makefile b/net/https-dns-proxy/Makefile
index 199f1c5fa..cbbe670fb 100644
--- a/net/https-dns-proxy/Makefile
+++ b/net/https-dns-proxy/Makefile
@@ -2,7 +2,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=https-dns-proxy
PKG_VERSION:=2021-11-22
-PKG_RELEASE:=5
+PKG_RELEASE:=6
PKG_SOURCE_PROTO:=git
PKG_SOURCE_URL:=https://github.com/aarond10/https_dns_proxy/
diff --git a/net/https-dns-proxy/files/https-dns-proxy.init b/net/https-dns-proxy/files/https-dns-proxy.init
index 887903fe0..df91ad97d 100755
--- a/net/https-dns-proxy/files/https-dns-proxy.init
+++ b/net/https-dns-proxy/files/https-dns-proxy.init
@@ -257,7 +257,7 @@ dnsmasq_doh_server() {
add)
if [ "$forceDNS" -ne 0 ]; then
for i in $canaryDomains; do
- uci_add_list 'dhcp' "$cfg" 'server' "/${i}/"
+ uci_add_list_if_new 'dhcp' "$cfg" 'server' "/${i}/"
done
fi
case $address in