Pretty up some come

This commit is contained in:
Tom Eastep 2010-08-24 13:08:21 -07:00
parent 91c5a2f80b
commit 4a865e0a6d

View File

@ -1616,15 +1616,12 @@ sub process_rule ( ) {
my $thisline = $currentline; #We must save $currentline because it is overwritten by macro expansion
my $action = isolate_basic_target $target;
my $fw = firewall_zone;
my @source = build_zone_list ( $fw, $source, 'SOURCE', $intrazone, $wild );
my @dest = build_zone_list ( $fw, $dest, 'DEST' , $intrazone, $wild );
my $generated = 0;
my @source;
my @dest;
fatal_error "Invalid or missing ACTION ($target)" unless defined $action;
@source = build_zone_list ( $fw, $source, 'SOURCE', $intrazone, $wild );
@dest = build_zone_list ( $fw, $dest, 'DEST' , $intrazone, $wild );
for $source ( @source ) {
for $dest ( @dest ) {
my $sourcezone = (split( /:/, $source, 2 ) )[0];