summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2008-12-23 16:48:48 +0000
committerJo-Philipp Wich <jow@openwrt.org>2008-12-23 16:48:48 +0000
commit73f2139f160b5424aec856b5f67141901ff8731f (patch)
treeda05c92afd2f1748230ad3a5f3eaf8dd67c81ff6
parent22625f02fd298a830c5c377c2aec7bd25e0a20a4 (diff)
modules/admin-full: readd "none" protocol option to interface config
-rw-r--r--modules/admin-full/luasrc/model/cbi/admin_network/ifaces.lua1
1 files changed, 1 insertions, 0 deletions
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")