summaryrefslogtreecommitdiffhomepage
path: root/modules
diff options
context:
space:
mode:
Diffstat (limited to 'modules')
-rw-r--r--modules/admin-full/luasrc/model/cbi/admin_network/ifaces.lua6
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 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")