summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorHannu Nyman <hannu.nyman@iki.fi>2018-10-13 16:24:44 +0300
committerGitHub <noreply@github.com>2018-10-13 16:24:44 +0300
commit7eff2de5d4651bc64d0c35e73709a12f788ea04a (patch)
tree7829831448d292943c9a118a7cdc2c8b62ac6207
parent77db045bf46e47d0a5250d0cc2d0035be616dee2 (diff)
parent21378547ec859e3054863014a96ff680c2330624 (diff)
Merge pull request #2225 from tano-systems/luci-proto-3g-fix-missed-opt-name
luci-proto-3g: add missed option name for IPv6 address obtain mode
-rw-r--r--protocols/luci-proto-3g/luasrc/model/cbi/admin_network/proto_3g.lua4
1 files changed, 3 insertions, 1 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 1b2e23cc42..e05e3a47fd 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,7 +47,9 @@ dialnumber.placeholder = "*99***1#"
if luci.model.network:has_ipv6() then
- ipv6 = section:taboption("advanced", ListValue, "ipv6")
+ ipv6 = section:taboption("advanced", ListValue, "ipv6",
+ translate("Obtain IPv6-Address"))
+
ipv6:value("auto", translate("Automatic"))
ipv6:value("0", translate("Disabled"))
ipv6:value("1", translate("Manual"))