mirror of
https://gitlab.com/shorewall/code.git
synced 2025-06-01 15:35:50 +02:00
Change a warning message; simplify 'isolate_basic_target()'
git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@5705 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
This commit is contained in:
parent
c3dc47460e
commit
8133c056fc
@ -113,9 +113,7 @@ sub merge_levels ($$) {
|
|||||||
# Get Macro Name
|
# Get Macro Name
|
||||||
#
|
#
|
||||||
sub isolate_basic_target( $ ) {
|
sub isolate_basic_target( $ ) {
|
||||||
my $result = ( split '/' , $_[0] )[0];
|
( split '/', ( split /:/ , $_[0] )[0] )[0];
|
||||||
|
|
||||||
( split /:/, $result )[0];
|
|
||||||
}
|
}
|
||||||
|
|
||||||
#
|
#
|
||||||
|
@ -301,7 +301,7 @@ sub zone_report()
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
print STDERR " *** $zone is an EMPTY ZONE ***\n" unless $printed || $type eq 'firewall';
|
warning_message "*** $zone is an EMPTY ZONE ***" unless $printed || $type eq 'firewall';
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user