comgt/umbim/uqmi: enable RFC 7278 for 3g/4g by default
[openwrt/openwrt.git] / package / network / services / ppp / files / lib / netifd / ppp-up
index 105ecbe8445ccd2e13f18bf6572ae913e6bb9c4f..7511042639d22605f9f4377157db039204e9ad8c 100755 (executable)
@@ -25,6 +25,7 @@ if [ -n "$AUTOIPV6" ]; then
        json_add_string name "${PPP_IPPARAM}_6"
        json_add_string ifname "@$PPP_IPPARAM"
        json_add_string proto "dhcpv6"
+       [ -n "$EXTENDPREFIX" ] && json_add_string extendprefix 1
        json_close_object
        ubus call network add_dynamic "$(json_dump)"
 fi