diff options
author | Steven Barth <steven@midlink.org> | 2015-05-17 10:38:03 +0200 |
---|---|---|
committer | Steven Barth <steven@midlink.org> | 2015-05-17 17:06:43 +0200 |
commit | f67d39e69a296fe8250ac73f80f0771ccb6dcc59 (patch) | |
tree | 9aef25a5f85463fb778831d3c1e778066f74c6db /protocols/luci-proto-3g | |
parent | 754ca290e578b5a60f5d9c2b2f4abf50d68f362a (diff) |
IPv6 updates
Signed-off-by: Steven Barth <steven@midlink.org>
Diffstat (limited to 'protocols/luci-proto-3g')
-rw-r--r-- | protocols/luci-proto-3g/luasrc/model/cbi/admin_network/proto_3g.lua | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/protocols/luci-proto-3g/luasrc/model/cbi/admin_network/proto_3g.lua b/protocols/luci-proto-3g/luasrc/model/cbi/admin_network/proto_3g.lua index 59bf2f646..1b2e23cc4 100644 --- a/protocols/luci-proto-3g/luasrc/model/cbi/admin_network/proto_3g.lua +++ b/protocols/luci-proto-3g/luasrc/model/cbi/admin_network/proto_3g.lua @@ -47,10 +47,11 @@ dialnumber.placeholder = "*99***1#" if luci.model.network:has_ipv6() then - ipv6 = section:taboption("advanced", Flag, "ipv6", - translate("Enable IPv6 negotiation on the PPP link")) - - ipv6.default = ipv6.disabled + ipv6 = section:taboption("advanced", ListValue, "ipv6") + ipv6:value("auto", translate("Automatic")) + ipv6:value("0", translate("Disabled")) + ipv6:value("1", translate("Manual")) + ipv6.default = "auto" end |