#914 change from silent_ports to macsuck_no_deviceport

This commit is contained in:
Oliver Gorwits
2022-08-16 09:19:35 +01:00
parent 6a27a2b3b1
commit f4dde980ff
4 changed files with 55 additions and 41 deletions

View File

@@ -199,10 +199,10 @@ if (ref {} eq ref setting('device_identity')) {
}
else { config->{'device_identity'} ||= [] }
if (ref {} eq ref setting('silent_ports')) {
config->{'silent_ports'} = [ setting('silent_ports') ];
if (ref {} eq ref setting('macsuck_no_deviceport')) {
config->{'macsuck_no_deviceport'} = [ setting('macsuck_no_deviceport') ];
}
else { config->{'silent_ports'} ||= [] }
else { config->{'macsuck_no_deviceport'} ||= [] }
# copy devices_no and devices_only into others
foreach my $name (qw/devices_no devices_only