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:
97de32e
)
* luci/modules/admin-full: made keep-alive and demand optional in interface config
author
Jo-Philipp Wich
<redacted>
Mon, 13 Oct 2008 00:54:08 +0000
(
00:54
+0000)
committer
Jo-Philipp Wich
<redacted>
Mon, 13 Oct 2008 00:54:08 +0000
(
00:54
+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 32de05154ad8258cd8235c9ea215593661dca489..780e6075b0e0b1915ba5f973e3e66c7c7eecb607 100644
(file)
--- a/
modules/admin-full/luasrc/model/cbi/admin_network/ifaces.lua
+++ b/
modules/admin-full/luasrc/model/cbi/admin_network/ifaces.lua
@@
-165,7
+165,7
@@
ka = s:option(Value, "keepalive",
translate("network_interface_keepalive"),
translate("network_interface_keepalive_desc")
)
-ka.
rmempty
= true
+ka.
optional
= true
ka:depends("proto", "pptp")
ka:depends("proto", "pppoe")
ka:depends("proto", "ppp")
@@
-175,7
+175,7
@@
demand = s:option(Value, "demand",
translate("network_interface_demand"),
translate("network_interface_demand_desc")
)
-demand.
rmempty
= true
+demand.
optional
= true
demand:depends("proto", "pptp")
demand:depends("proto", "pppoe")
demand:depends("proto", "ppp")
git clone https://git.99rst.org/PROJECT