1 -- ToDo: Translate, Add descriptions and help texts
2 m = Map("network", "Punkt-zu-Punkt Verbindungen")
4 s = m:section(TypedSection, "interface")
6 s:depends("proto", "pppoe")
7 s:depends("proto", "pptp")
9 p = s:option(ListValue, "proto", "Protokoll")
10 p:value("pppoe", "PPPoE")
11 p:value("pptp", "PPTP")
14 s:option(Value, "ifname", "Schnittstelle")
16 s:option(Value, "username", "Benutzername")
17 s:option(Value, "password", "Passwort")
19 s:option(Value, "keepalive", "Keep-Alive").optional = true
21 s:option(Value, "demand", "Dial on Demand (idle time)").optional = true
23 srv = s:option(Value, "server", "PPTP-Server")
24 srv:depends("proto", "pptp")
27 mtu = s:option(Value, "mtu", "MTU")