Correct fix for duplicate chain jumps

git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@6272 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
This commit is contained in:
teastep 2007-05-07 21:51:19 +00:00
parent d2c3b034b6
commit fac8d4cd25

View File

@ -149,6 +149,12 @@ sub find_hosts_by_option( $ ) {
}
}
for my $interface ( @interfaces ) {
if ( ! $interfaces{$interface}{zone} && $interfaces{$interface}{options}{$option} ) {
push @hosts, [ $interface, 'none', ALLIPv4 ];
}
}
\@hosts;
}