aboutsummaryrefslogtreecommitdiffstats
path: root/package/network/services/ppp/files/lib/netifd/ppp-up
diff options
context:
space:
mode:
Diffstat (limited to 'package/network/services/ppp/files/lib/netifd/ppp-up')
-rwxr-xr-xpackage/network/services/ppp/files/lib/netifd/ppp-up1
1 files changed, 1 insertions, 0 deletions
diff --git a/package/network/services/ppp/files/lib/netifd/ppp-up b/package/network/services/ppp/files/lib/netifd/ppp-up
index 105ecbe844..7511042639 100755
--- a/package/network/services/ppp/files/lib/netifd/ppp-up
+++ b/package/network/services/ppp/files/lib/netifd/ppp-up
@@ -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