meshwizard: ipv6 fixes, fix uhttpd setup
[project/luci.git] / contrib / package / meshwizard / files / usr / bin / meshwizard / helpers / setup_lan_ipv6.sh
index 1b6e0dee38b1f28c076085f16b6e1498b722be5f..2f6144b67ffb4871cd56e08c9d4762e9cafea955 100755 (executable)
@@ -8,7 +8,7 @@
 # Setup IPv6 for the lan interface
 
 local ip6addr=""
-if [ "$profile_ipv6_config" = "auto-ipv6-dhcpv6" ]; then
+if [ "$ipv6_config" = "auto-ipv6-dhcpv6" ]; then
        # get lan mac
        local device="$(uci -p/var/state -q get network.lan.ifname)"
        if [ -n "device" ]; then