Port critical hosts patch to trunk

git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@9229 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
This commit is contained in:
teastep 2009-01-01 16:19:22 +00:00
parent f404b45b8f
commit 697cd0a757
2 changed files with 2 additions and 2 deletions

View File

@ -448,7 +448,7 @@ EOF
);
for my $hosts ( @$criticalhosts ) {
my ( $interface, $host ) = ( split /:/, $hosts );
my ( $interface, $host ) = ( split /\|/, $hosts );
my $source = match_source_net $host;
my $dest = match_dest_net $host;

View File

@ -383,7 +383,7 @@ sub process_criticalhosts() {
for my $host ( split_list $hosts, 'host' ) {
validate_host $host, 1;
push @hosts, "$interface:$host";
push @hosts, "$interface|$host";
}
unless ( $options eq '-' ) {