|
@@ -196,6 +196,7 @@ do_redirect()
|
|
|
config_get "old_redirect" "$section" "old_redirect" "none"
|
|
|
config_get "old_port" "$section" "old_port" "0"
|
|
|
config_get "old_enabled" "$section" "old_enabled" "0"
|
|
|
+ uci get dhcp.@dnsmasq[0].port || uci set dhcp.@dnsmasq[0].port="53"
|
|
|
if [ "$old_enabled" = "1" -a "$old_redirect" == "exchange" ]; then
|
|
|
AdGuardHome_PORT=$(uci get dhcp.@dnsmasq[0].port 2>/dev/null)
|
|
|
fi
|