]]--
local sid = arg[1]
+local utl = require "luci.util"
m = Map("radvd", translatef("Radvd - Interface %q", "?"),
translate("Radvd is a router advertisement daemon for IPv6. " ..
end
+o = s:taboption("general", DynamicList, "client", translate("Clients"),
+ translate("Restrict communication to specified clients, leave empty to use multicast"))
+
+o.rmempty = true
+o.datatype = "ip6addr"
+o.placeholder = "any"
+function o.cfgvalue(...)
+ local v = Value.cfgvalue(...)
+ local l = { }
+ for v in utl.imatch(v) do
+ l[#l+1] = v
+ end
+ return l
+end
+
+
o = s:taboption("general", Flag, "AdvSendAdvert", translate("Enable advertisements"),
translate("Enables router advertisements and solicitations"))