projects
/
project
/
luci.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
* STUPID SVN!!!!111oneoneone ;-/
[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