git.99rst.org
/
openwrt-luci.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
| inline |
side by side
(parent:
70706cf
)
modules/admin-full: fix inconsistency in iface config
author
Jo-Philipp Wich
<redacted>
Mon, 25 Oct 2010 17:06:56 +0000
(17:06 +0000)
committer
Jo-Philipp Wich
<redacted>
Mon, 25 Oct 2010 17:06:56 +0000
(17:06 +0000)
modules/admin-full/luasrc/model/cbi/admin_network/ifaces.lua
patch
|
blob
|
history
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 5598ed30a0824b3316059f8d44eb8071d4144c8d..753779925b2c1051486775738402fb10bff76150 100644
(file)
--- 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")
git clone https://git.99rst.org/PROJECT