summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2010-10-25 17:06:56 +0000
committerJo-Philipp Wich <jow@openwrt.org>2010-10-25 17:06:56 +0000
commitcd63354f7e0eb7bac4416cbb90ae70f43b4c4194 (patch)
tree48e5f5c26eefed669528eaed198a3a9ea79c2183
parent70706cf388f8ac100778831e9ef9d7b1eb74c752 (diff)
modules/admin-full: fix inconsistency in iface config
-rw-r--r--modules/admin-full/luasrc/model/cbi/admin_network/ifaces.lua2
1 files changed, 2 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 5598ed30a0..753779925b 100644
--- a/modules/admin-full/luasrc/model/cbi/admin_network/ifaces.lua
+++ b/modules/admin-full/luasrc/model/cbi/admin_network/ifaces.lua
@@ -276,7 +276,9 @@ if has_pppd or has_pppoe or has_pppoa or has_3g or has_pptp or has_6in4 then
pass:depends("proto", "ppp")
pass:depends("proto", "3g")
pass:depends("proto", "6in4")
+end
+if has_pppd or has_pppoe or has_pppoa or has_3g or has_pptp then
ka = s:taboption("ppp", Value, "keepalive",
translate("Keep-Alive"),
translate("Number of failed connection tests to initiate automatic reconnect")