Changeset 8870
- Timestamp:
- 07/05/12 05:22:16 (11 months ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
luci/trunk/protocols/ppp/luasrc/model/cbi/admin_network/proto_l2tp.lua
r8773 r8870 14 14 15 15 local server, username, password 16 local buffering, defaultroute, metric, peerdns, dns16 local ipv6, defaultroute, metric, peerdns, dns, mtu 17 17 18 18 … … 27 27 password.password = true 28 28 29 if luci.model.network:has_ipv6() then 30 31 ipv6 = section:taboption("advanced", Flag, "ipv6", 32 translate("Enable IPv6 negotiation on the PPP link")) 33 34 ipv6.default = ipv6.disabled 35 36 end 29 37 30 38 defaultroute = section:taboption("advanced", Flag, "defaultroute", … … 56 64 dns.datatype = "ipaddr" 57 65 dns.cast = "string" 66 67 mtu = section:taboption("advanced", Value, "mtu", translate("Override MTU")) 68 mtu.placeholder = "1500" 69 mtu.datatype = "max(1500)"
