forked from extern/shorewall_code
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
|
||||
#
|
||||
sub isolate_basic_target( $ ) {
|
||||
my $result = ( split '/' , $_[0] )[0];
|
||||
|
||||
( split /:/, $result )[0];
|
||||
( split '/', ( split /:/ , $_[0] )[0] )[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…
Reference in New Issue
Block a user