ppp: add unconditional autoipv6-trigger
[openwrt/staging/chunkeey.git] / package / network / services / ppp / files / lib / netifd / ppp-up
index 286fc5f83498c81a3492fb30d0a023f0a4507dec..f9bfe6238370eb7aaa0e1515ddbbe955f723dfae 100755 (executable)
@@ -20,7 +20,7 @@ proto_send_update "$PPP_IPPARAM"
        done
 }
 
-if [ -n "$IPV6IFACE" -a "$(ifstatus $IPV6IFACE | jsonfilter -e @.device)" != "$IFNAME" ]; then
+if [ -n "$AUTOIPV6" ]; then
        json_init
        json_add_string name "${PPP_IPPARAM}_dhcpv6"
        json_add_string ifname "@$PPP_IPPARAM"