X-Git-Url: http://git.openwrt.org/?p=openwrt%2Fstaging%2Fchunkeey.git;a=blobdiff_plain;f=package%2Fnetwork%2Fservices%2Fppp%2Ffiles%2Flib%2Fnetifd%2Fppp-up;h=f9bfe6238370eb7aaa0e1515ddbbe955f723dfae;hp=286fc5f83498c81a3492fb30d0a023f0a4507dec;hb=aad6cb99cfca296a3d5fe53f408ccd9ce55e58ea;hpb=c62b07b2ce55b16c976a1b87ca80a39c1127d612 diff --git a/package/network/services/ppp/files/lib/netifd/ppp-up b/package/network/services/ppp/files/lib/netifd/ppp-up index 286fc5f834..f9bfe62383 100755 --- a/package/network/services/ppp/files/lib/netifd/ppp-up +++ b/package/network/services/ppp/files/lib/netifd/ppp-up @@ -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"