From: Jo-Philipp Wich Date: Tue, 23 Dec 2008 16:48:48 +0000 (+0000) Subject: modules/admin-full: readd "none" protocol option to interface config X-Git-Tag: 0.9.0~864 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=73f2139f160b5424aec856b5f67141901ff8731f;p=oweals%2Fluci.git modules/admin-full: readd "none" protocol option to interface config --- diff --git a/modules/admin-full/luasrc/model/cbi/admin_network/ifaces.lua b/modules/admin-full/luasrc/model/cbi/admin_network/ifaces.lua index 4ab32693e..267c41c9d 100644 --- a/modules/admin-full/luasrc/model/cbi/admin_network/ifaces.lua +++ b/modules/admin-full/luasrc/model/cbi/admin_network/ifaces.lua @@ -41,6 +41,7 @@ if has_pppoe then p:value("pppoe", "PPPoE") end if has_pppoa then p:value("pppoa", "PPPoA") end if has_3g then p:value("3g", "UMTS/3G") end if has_pptp then p:value("pptp", "PPTP") end +p:value("none", translate("none")) if not ( has_pppd and has_pppoe and has_pppoa and has_3g and has_pptp ) then p.description = translate("network_interface_prereq")