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:
teastep 2007-03-22 14:41:32 +00:00
parent 5ed65582ee
commit 961d1225f2

View File

@ -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 );