projects
/
project
/
luci.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
6a01152109bf8a9f555da64139436a386142f9ad
[project/luci.git]
/
src
/
ffluci
/
model
/
cbi
/
admin_network
/
vlan.lua
1
m = Map("network", "VLAN", "Konfguriert den Switch des Routers.")
2
3
s = m:section(TypedSection, "switch")
4
5
-- ToDo: Autodetect things, maybe use MultiValue instead
6
for i = 0, 15 do
7
local c = s:option(Value, "vlan"..i, "vlan"..i)
8
c.default = "5"
9
c.optional = true
10
end
11
12
return m