Merge pull request #6550 from stokito/devices_unspecified
authorJo-Philipp Wich <jo@mein.io>
Thu, 31 Aug 2023 11:33:49 +0000 (13:33 +0200)
committerGitHub <noreply@github.com>
Thu, 31 Aug 2023 11:33:49 +0000 (13:33 +0200)
Devices unspecified

applications/luci-app-adblock/htdocs/luci-static/resources/view/adblock/overview.js
applications/luci-app-banip/htdocs/luci-static/resources/view/banip/overview.js
applications/luci-app-p910nd/luasrc/model/cbi/p910nd.lua
applications/luci-app-travelmate/htdocs/luci-static/resources/view/travelmate/overview.js
applications/luci-app-travelmate/htdocs/luci-static/resources/view/travelmate/stations.js
applications/luci-app-ttyd/htdocs/luci-static/resources/view/ttyd/config.js
modules/luci-mod-system/htdocs/luci-static/resources/view/system/dropbear.js

index 9b0aa5bc0dae646023f2947e8875f17d6f590c4e..846689e945c438f8aa1b52a7bf2c0ee9f5301999 100644 (file)
@@ -311,7 +311,6 @@ return view.extend({
 
                o = s.taboption('general', widgets.NetworkSelect, 'adb_trigger', _('Startup Trigger Interface'), _('List of available network interfaces to trigger the adblock start. \
                        Choose \'unspecified\' to use a classic startup timeout instead of a network trigger.'));
-               o.unspecified = true;
                o.nocreate = true;
                o.rmempty = true;
 
@@ -320,14 +319,12 @@ return view.extend({
 
                o = s.taboption('general', widgets.ZoneSelect, 'adb_zonelist', _('Forced Zones'), _('Firewall source zones that should be forced locally.'));
                o.depends('adb_forcedns', '1');
-               o.unspecified = true;
                o.multiple = true;
                o.nocreate = true;
                o.rmempty = true;
 
                o = s.taboption('general', form.DynamicList, 'adb_portlist', _('Forced Ports'), _('Firewall ports that should be forced locally.'));
                o.depends('adb_forcedns', '1');
-               o.unspecified = true;
                o.multiple = true;
                o.nocreate = false;
                o.datatype = 'port';
@@ -484,7 +481,6 @@ return view.extend({
                o.default = '<em><b>Changes on this tab needs a full adblock service restart to take effect.</b></em>';
 
                o = s.taboption('adv_report', widgets.DeviceSelect, 'adb_repiface', _('Report Interface'), _('List of available network devices used by tcpdump.'));
-               o.unspecified = true;
                o.nocreate = false;
                o.rmempty = true;
 
index 896b3194d4ae59efde5c6f31ba951b16ed1a571b..f6b897663f5c55299e2b4b2cd5a056155376f455 100644 (file)
@@ -264,7 +264,6 @@ return view.extend({
 
                o = s.taboption('general', widgets.DeviceSelect, 'ban_dev', _('Network Devices'), _('Select the WAN network device(s).'));
                o.depends('ban_autodetect', '0');
-               o.unspecified = true;
                o.multiple = true;
                o.nocreate = true;
                o.optional = true;
@@ -272,7 +271,6 @@ return view.extend({
 
                o = s.taboption('general', widgets.NetworkSelect, 'ban_ifv4', _('Network Interfaces'), _('Select the logical WAN IPv4 network interface(s).'));
                o.depends('ban_autodetect', '0');
-               o.unspecified = true;
                o.multiple = true;
                o.nocreate = true;
                o.optional = true;
@@ -280,7 +278,6 @@ return view.extend({
 
                o = s.taboption('general', widgets.NetworkSelect, 'ban_ifv6', _('Network Interfaces'), _('Select the logical WAN IPv6 network interface(s).'));
                o.depends('ban_autodetect', '0');
-               o.unspecified = true;
                o.multiple = true;
                o.nocreate = true;
                o.optional = true;
@@ -301,7 +298,6 @@ return view.extend({
                o.retain = true;
 
                o = s.taboption('general', widgets.NetworkSelect, 'ban_trigger', _('Startup Trigger Interface'), _('List of available network interfaces to trigger the banIP start.'));
-               o.unspecified = true;
                o.multiple = true;
                o.nocreate = true;
                o.rmempty = true;
@@ -415,14 +411,12 @@ return view.extend({
                o.rmempty = true;
 
                o = s.taboption('adv_chain', widgets.DeviceSelect, 'ban_vlanallow', _('Allow VLAN Forwads'), _('Always allow certain VLAN forwards.'));
-               o.unspecified = true;
                o.multiple = true;
                o.nocreate = true;
                o.optional = true;
                o.rmempty = true;
 
                o = s.taboption('adv_chain', widgets.DeviceSelect, 'ban_vlanblock', _('Block VLAN Forwads'), _('Always block certain VLAN forwards.'));
-               o.unspecified = true;
                o.multiple = true;
                o.nocreate = true;
                o.optional = true;
index 099013806d2daa2051e5a39034c956885cfe9911..6a94db7cdde4fd698ffacdabd3a4aa11af3362c1 100644 (file)
@@ -22,7 +22,6 @@ s:option(Value, "device", translate("Device")).rmempty = true
 b = s:option(Value, "bind", translate("Interface"), translate("Specifies the interface to listen on."))
 b.template = "cbi/network_netlist"
 b.nocreate = true
-b.unspecified = true
 
 function b.cfgvalue(...)
        local v = Value.cfgvalue(...)
index a8069135a02323cebde9293b99b6997a73d984ca..7de69e07a422ea723bb467bb1f52166833a299fa 100644 (file)
@@ -321,7 +321,6 @@ return view.extend({
 
                o = s.taboption('general', widgets.NetworkSelect, 'trm_vpnifacelist', _('Limit VPN processing'), _('Limit VPN processing to certain interfaces.'));
                o.depends('trm_vpn', '1');
-               o.unspecified = true;
                o.multiple = true;
                o.nocreate = true;
                o.rmempty = true;
index fcd98fa37f976a061c3fba5f372f0d41f3cbac11..00ff71c8deea610d8fb65b31fe21bc0a6af42177 100644 (file)
@@ -557,7 +557,6 @@ return view.extend({
                o.ucisection = 'uplink';
                o.ucioption = 'macaddr';
                o.nocreate = false;
-               o.unspecified = true;
                o.rmempty = true;
                o.datatype = 'macaddr';
                o.cfgvalue = function (section_id) {
@@ -699,7 +698,6 @@ return view.extend({
                }
 
                o = s.taboption('vpn', widgets.NetworkSelect, '_vpniface', _('VPN Interface'), _('The logical vpn network interface like \'wg0\'.'));
-               o.unspecified = false;
                o.nocreate = true;
                o.optional = true;
                o.modalonly = true;
index d4c0a57b75a83517e0eca581e9ac9e73ec2b6dab..3ab453a0ab2c3a46627d4c8308a5aa0068217bfa 100644 (file)
@@ -23,7 +23,6 @@ return view.extend({
 
                o = s.option(widgets.DeviceSelect, 'interface', _('Interface'), _('Network interface to bind (eg: eth0), or UNIX domain socket path (eg: /var/run/ttyd.sock)'));
                o.nocreate    = true;
-               o.unspecified = true;
 
                o = s.option(form.Value, 'credential', _('Credential'), _('Credential for Basic Authentication'));
                o.placeholder = 'username:password';
index 05afc670aba663ee3a45bfd7ea8322683724b4c4..3b1f14235dcfb6d7710344215e20c97bc4f8797a 100644 (file)
@@ -16,7 +16,6 @@ return view.extend({
 
                o = s.option(widgets.NetworkSelect, 'Interface', _('Interface'), _('Listen only on the given interface or, if unspecified, on all'));
                o.nocreate    = true;
-               o.unspecified = true;
 
                o = s.option(form.Value, 'Port', _('Port'));
                o.datatype    = 'port';