local encaps, atmdev, vci, vpi, username, password
local ipv6, defaultroute, metric, peerdns, dns,
- keepalive_failure, keepalive_interval, demand
+ keepalive_failure, keepalive_interval, demand, mtu
encaps = section:taboption("general", ListValue, "encaps", translate("PPPoA Encapsulation"))
dns:depends("peerdns", "")
dns.datatype = "ipaddr"
+dns.cast = "string"
keepalive_failure = section:taboption("advanced", Value, "_keepalive_failure",
demand.placeholder = "0"
demand.datatype = "uinteger"
+
+
+mtu = section:taboption("advanced", Value, "mtu", translate("Override MTU"))
+mtu.placeholder = "1500"
+mtu.datatype = "max(9200)"