From: Jo-Philipp Wich Date: Sun, 12 Oct 2008 22:34:10 +0000 (+0000) Subject: * luci/modules/admin-full: make some ppp options actually optional X-Git-Tag: 0.9.0~1108 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=5a70b00f60389eae965c34507cdf01659b076c95;p=oweals%2Fluci.git * luci/modules/admin-full: make some ppp options actually optional --- 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 f9c141a71..a832f39f4 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")