summaryrefslogtreecommitdiff
path: root/net/https-dns-proxy/files
diff options
context:
space:
mode:
authorStan Grishin <stangri@melmac.ca>2022-10-04 21:25:42 +0000
committerStan Grishin <stangri@melmac.ca>2022-10-04 21:25:42 +0000
commitf99ada410fa799b419ca7819ed2bbcf779ec3d12 (patch)
tree27fe3dc62a28aa344ee76a71adae9525d51344c0 /net/https-dns-proxy/files
parent845d81ca0976c82829addc23e9e8b95885c910ee (diff)
https-dns-proxy: bugfix: prevent canary domains duplicates
Signed-off-by: Stan Grishin <stangri@melmac.ca>
Diffstat (limited to 'net/https-dns-proxy/files')
-rwxr-xr-xnet/https-dns-proxy/files/https-dns-proxy.init2
1 files changed, 1 insertions, 1 deletions
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