fb83916781885ab03022395b7410fd883cd5148f
[project/luci.git] / module / admin-core / src / model / cbi / admin_network / routes.lua
1 -- ToDo: Translate, Add descriptions and help texts
2 m = Map("network", "Statische Routen", [[Statische Routen geben an,
3 über welche Schnittstelle und welches Gateway ein bestimmter Host
4 oder ein bestimmtes Netzwerk erreicht werden kann.]])
5
6 s = m:section(TypedSection, "route")
7 s.addremove = true
8 s.anonymous = true
9
10 s:option(Value, "interface", "Schnittstelle")
11
12 s:option(Value, "target", "Ziel", "Host-IP oder Netzwerk")
13
14 s:option(Value, "netmask", "Netzmaske", "falls Ziel ein Netzwerk ist").rmemepty = true
15
16 s:option(Value, "gateway", "Gateway")
17
18 return m