[packages] ddns-scripts: fix overriding ip_network (#7361)
[openwrt/svn-archive/archive.git] / net / ddns-scripts / files / usr / lib / ddns / dynamic_dns_functions.sh
index a5c44d7..0e2ab7f 100644 (file)
@@ -56,7 +56,6 @@ get_current_ip()
        if [ "$ip_source" != "interface" ] && [ "$ip_source" != "web" ] && [ "$ip_source" != "script" ]
        then
                ip_source="network"
-               ip_network="wan"
        fi
 
        if [ "$ip_source" = "network" ]