summaryrefslogtreecommitdiff
path: root/package/network/services/ppp
diff options
context:
space:
mode:
authorSteven Barth <cyrus@openwrt.org>2015-09-03 15:53:40 +0000
committerSteven Barth <cyrus@openwrt.org>2015-09-03 15:53:40 +0000
commitf96bf30dc616f90de30e312af44c69b66268b830 (patch)
tree291205f49a86ca1d165a23d424663b089fe9998a /package/network/services/ppp
parent72b4ed113a07ebc7eee82c331111853aa81f9b36 (diff)
downloadmtk-20170518-f96bf30dc616f90de30e312af44c69b66268b830.zip
mtk-20170518-f96bf30dc616f90de30e312af44c69b66268b830.tar.gz
mtk-20170518-f96bf30dc616f90de30e312af44c69b66268b830.tar.bz2
comgt/umbim/uqmi: enable RFC 7278 for 3g/4g by default
Signed-off-by: Steven Barth <steven@midlink.org> SVN-Revision: 46780
Diffstat (limited to 'package/network/services/ppp')
-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 105ecbe..7511042 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