summaryrefslogtreecommitdiffhomepage
path: root/modules
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2008-10-13 00:54:08 +0000
committerJo-Philipp Wich <jow@openwrt.org>2008-10-13 00:54:08 +0000
commit576e6fe8f02b8b3769230fd610229d83f58b49e0 (patch)
treeb9566251267d8a292d305824582f9a0a39080b6d /modules
parent97de32ee4fc67b356ac89d878ca2b4e00815b937 (diff)
* luci/modules/admin-full: made keep-alive and demand optional in interface config
Diffstat (limited to 'modules')
-rw-r--r--modules/admin-full/luasrc/model/cbi/admin_network/ifaces.lua4
1 files changed, 2 insertions, 2 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 32de05154..780e6075b 100644
--- 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")