Fix missing white space

git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@6261 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
This commit is contained in:
teastep 2007-05-06 23:43:21 +00:00
parent dfed6bd16d
commit ca5253a13e
2 changed files with 5 additions and 5 deletions

View File

@ -1075,9 +1075,9 @@ sub match_ipsec_in( $$ ) {
my $optionsref = $zoneref->{options}; my $optionsref = $zoneref->{options};
if ( $zoneref->{type} eq 'ipsec4' ) { if ( $zoneref->{type} eq 'ipsec4' ) {
$match .= "ipsec $optionsref->{in_out}{ipsec}$optionsref->{in}{ipsec}"; $match .= "ipsec $optionsref->{in_out}{ipsec}$optionsref->{in}{ipsec} ";
} elsif ( $capabilities{POLICY_MATCH} ) { } elsif ( $capabilities{POLICY_MATCH} ) {
$match .= "$hostref->{ipsec} $optionsref->{in_out}{ipsec}$optionsref->{in}{ipsec}"; $match .= "$hostref->{ipsec} $optionsref->{in_out}{ipsec}$optionsref->{in}{ipsec} ";
} else { } else {
''; '';
} }
@ -1093,9 +1093,9 @@ sub match_ipsec_out( $$ ) {
my $optionsref = $zoneref->{options}; my $optionsref = $zoneref->{options};
if ( $zoneref->{type} eq 'ipsec4' ) { if ( $zoneref->{type} eq 'ipsec4' ) {
$match .= "ipsec $optionsref->{in_out}{ipsec}$optionsref->{out}{ipsec}"; $match .= "ipsec $optionsref->{in_out}{ipsec}$optionsref->{out}{ipsec} ";
} elsif ( $capabilities{POLICY_MATCH} ) { } elsif ( $capabilities{POLICY_MATCH} ) {
$match .= "$hostref->{ipsec} $optionsref->{in_out}{ipsec}$optionsref->{out}{ipsec}" $match .= "$hostref->{ipsec} $optionsref->{in_out}{ipsec}$optionsref->{out}{ipsec} "
} else { } else {
''; '';
} }

View File

@ -1429,7 +1429,7 @@ sub generate_matrix() {
for my $net ( @{$hostref->{hosts}} ) { for my $net ( @{$hostref->{hosts}} ) {
add_rule add_rule
$filter_table->{forward_chain $interface} , $filter_table->{forward_chain $interface} ,
match_source_net join( '', $net, $ipsec_match, "-j $frwd_ref->{name}" ); join( '', match_source_net( $net ), $ipsec_match, "-j $frwd_ref->{name}" );
} }
} }
} }