forked from extern/shorewall_code
Fix silly bug in maclist verification
git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@5622 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
This commit is contained in:
parent
5ed65582ee
commit
961d1225f2
@ -565,7 +565,7 @@ sub setup_mac_lists( $ ) {
|
||||
my $maclist_hosts = find_hosts_by_option 'maclist';
|
||||
|
||||
for my $hostref ( @$maclist_hosts ) {
|
||||
$maclist_interfaces{ $hostref->[0][0] } = 1;
|
||||
$maclist_interfaces{ $hostref->[0] } = 1;
|
||||
}
|
||||
|
||||
my @maclist_interfaces = ( sort keys %maclist_interfaces );
|
||||
|
Loading…
Reference in New Issue
Block a user