diff options
author | Steven Barth <steven@midlink.org> | 2014-06-19 15:18:35 +0000 |
---|---|---|
committer | Steven Barth <steven@midlink.org> | 2014-06-19 15:18:35 +0000 |
commit | 6598993359025509a8fbd3d1f1079271e6c53e98 (patch) | |
tree | f5973f0c74c08c19827cff2b843f5050cb24338d /protocols/ipv6 | |
parent | 4445e264e14bbff76ff3111477847434aa4cc943 (diff) |
hnet: update mode selection
Diffstat (limited to 'protocols/ipv6')
-rw-r--r-- | protocols/ipv6/luasrc/model/cbi/admin_network/proto_hnet.lua | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/protocols/ipv6/luasrc/model/cbi/admin_network/proto_hnet.lua b/protocols/ipv6/luasrc/model/cbi/admin_network/proto_hnet.lua index bd6c518352..0cf8c01017 100644 --- a/protocols/ipv6/luasrc/model/cbi/admin_network/proto_hnet.lua +++ b/protocols/ipv6/luasrc/model/cbi/admin_network/proto_hnet.lua @@ -12,8 +12,14 @@ You may obtain a copy of the License at local map, section, net = ... -section:taboption("general", Flag, "guest", translate("Guest mode")) -section:taboption("advanced", Flag, "adhoc", translate("Ad-hoc mode")) +local mode = section:taboption("general", ListValue, "mode", translate("Category")) +mode:value("auto", translate("Automatic")) +mode:value("external", translate("External")) +mode:value("guest", translate("Guest")) +mode:value("adhoc", translate("Ad-Hoc")) +mode.default = "auto" + + local plen = section:taboption("advanced", Value, "ip6assign", translate("IPv6 assignment length"), translate("Assign a part of given length of every public IPv6-prefix to this interface")) |