diff options
author | Jo-Philipp Wich <jow@openwrt.org> | 2008-10-12 22:34:10 +0000 |
---|---|---|
committer | Jo-Philipp Wich <jow@openwrt.org> | 2008-10-12 22:34:10 +0000 |
commit | 5a70b00f60389eae965c34507cdf01659b076c95 (patch) | |
tree | f7853d83ad82c2d5ebf068882fa75e63c063e7c8 /modules/admin-full | |
parent | df2c6eeb08a51ae6aff4e524127ec8f937e71010 (diff) |
* luci/modules/admin-full: make some ppp options actually optional
Diffstat (limited to 'modules/admin-full')
-rw-r--r-- | modules/admin-full/luasrc/model/cbi/admin_network/ifaces.lua | 6 |
1 files changed, 3 insertions, 3 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 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") |