diff options
| author | Stan Grishin <stangri@melmac.ca> | 2022-10-04 15:06:09 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-10-04 15:06:09 -0700 |
| commit | 45f4b0e3e28144855dafe7713d372c2738186bcc (patch) | |
| tree | 27fe3dc62a28aa344ee76a71adae9525d51344c0 /net/https-dns-proxy/files/https-dns-proxy.init | |
| parent | 845d81ca0976c82829addc23e9e8b95885c910ee (diff) | |
| parent | f99ada410fa799b419ca7819ed2bbcf779ec3d12 (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/files/https-dns-proxy.init')
| -rwxr-xr-x | net/https-dns-proxy/files/https-dns-proxy.init | 2 |
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 |
