X-Git-Url: http://git.archive.openwrt.org/?p=project%2Fluci.git;a=blobdiff_plain;f=protocols%2Fppp%2Fluasrc%2Fmodel%2Fcbi%2Fadmin_network%2Fproto_pppoe.lua;h=4f19ac3fba87ebfdc7214821e37bfd83b4c0a5de;hp=72df0e43c33fc34be208f73599055688404f308d;hb=df77c736bec5adb4dff59ea3501b02d24d4dd110;hpb=30a0e92e224fc1da8517db9b71b7b2f0fb38a71b diff --git a/protocols/ppp/luasrc/model/cbi/admin_network/proto_pppoe.lua b/protocols/ppp/luasrc/model/cbi/admin_network/proto_pppoe.lua index 72df0e43c..4f19ac3fb 100644 --- a/protocols/ppp/luasrc/model/cbi/admin_network/proto_pppoe.lua +++ b/protocols/ppp/luasrc/model/cbi/admin_network/proto_pppoe.lua @@ -14,7 +14,7 @@ local map, section, net = ... local username, password, ac, service local ipv6, defaultroute, metric, peerdns, dns, - keepalive_failure, keepalive_interval, demand + keepalive_failure, keepalive_interval, demand, mtu username = section:taboption("general", Value, "username", translate("PAP/CHAP username")) @@ -129,3 +129,8 @@ demand = section:taboption("advanced", Value, "demand", demand.placeholder = "0" demand.datatype = "uinteger" + + +mtu = section:taboption("advanced", Value, "mtu", translate("Override MTU")) +mtu.placeholder = "1500" +mtu.datatype = "max(1500)"