* STUPID SVN!!!!111oneoneone ;-/
[project/luci.git] / src / ffluci / model / cbi / admin_network / ifaces.lua
1 m = Map("network", "Schnittstellen")
2
3 s = m:section(TypedSection, "interface")
4 s.addremove = true
5
6 p = s:option(ListValue, "proto", "Protokoll")
7 p:add_value("static", "statisch")
8 p:add_value("dhcp", "DHCP")
9 s:option(Value, "ipaddr", "IP-Adresse").optional = 1
10 s:option(Value, "netmask", "Netzmaske").optional = 1
11 s:option(Value, "gateway", "Gateway").optional = 1
12 s:option(Value, "dns", "DNS").optional = 1
13 s:option(Value, "mtu", "MTU").optional = 1
14
15 return m