* luci/modules/admin-full: make some ppp options actually optional
authorJo-Philipp Wich <jow@openwrt.org>
Sun, 12 Oct 2008 22:34:10 +0000 (22:34 +0000)
committerJo-Philipp Wich <jow@openwrt.org>
Sun, 12 Oct 2008 22:34:10 +0000 (22:34 +0000)
modules/admin-full/luasrc/model/cbi/admin_network/ifaces.lua

index f9c141a71247545fe9f385cf1559d0f2e4dd80ec..a832f39f4dc1d72ab1b6077104fa7f2177f87da4 100644 (file)
@@ -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")