mirror of
https://gitlab.com/shorewall/code.git
synced 2025-01-23 14:08:45 +01:00
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:
parent
f404b45b8f
commit
697cd0a757
@ -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;
|
||||
|
||||
|
@ -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 '-' ) {
|
||||
|
Loading…
Reference in New Issue
Block a user