From b55cab10b16366a2e46d2c4e731e511823a7be8b Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Mon, 13 Oct 2008 00:54:42 +0000 Subject: [PATCH] * luci-0.8: backport interface config tweaks --- modules/admin-full/luasrc/model/cbi/admin_network/ifaces.lua | 4 ++-- 1 file 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") -- 2.25.1