From 5a70b00f60389eae965c34507cdf01659b076c95 Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Sun, 12 Oct 2008 22:34:10 +0000 Subject: * luci/modules/admin-full: make some ppp options actually optional --- modules/admin-full/luasrc/model/cbi/admin_network/ifaces.lua | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'modules/admin-full/luasrc/model/cbi') 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 f9c141a712..a832f39f4d 100644 --- a/modules/admin-full/luasrc/model/cbi/admin_network/ifaces.lua +++ b/modules/admin-full/luasrc/model/cbi/admin_network/ifaces.lua @@ -187,21 +187,21 @@ connect = s:option(Value, "connect", translate("network_interface_connect"), translate("network_interface_connect_desc") ) -connect.rmempty = true +connect.optional = true connect:depends("proto", "ppp") disconnect = s:option(Value, "disconnect", translate("network_interface_disconnect"), translate("network_interface_disconnect_desc") ) -disconnect.rmempty = true +disconnect.optional = true disconnect:depends("proto", "ppp") pppd_options = s:option(Value, "pppd_options", translate("network_interface_pppd_options"), translate("network_interface_pppd_options_desc") ) -pppd_options.rmempty = true +pppd_options.optional = true pppd_options:depends("proto", "ppp") -- cgit v1.2.3