forked from extern/shorewall_code
Fix another masq ipsec option handling bug
git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@6132 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
This commit is contained in:
parent
269dacda14
commit
710354caee
@ -56,7 +56,7 @@ sub do_ipsec_options($)
|
|||||||
"tunnel-dst" => NETWORK,
|
"tunnel-dst" => NETWORK,
|
||||||
);
|
);
|
||||||
my $list=$_[0];
|
my $list=$_[0];
|
||||||
my $options = '-m policy --pol ipsec --dir out ';
|
my $options = '-m policy --pol ipsec --dir out';
|
||||||
my $fmt;
|
my $fmt;
|
||||||
|
|
||||||
for my $e ( split ',' , $list ) {
|
for my $e ( split ',' , $list ) {
|
||||||
@ -84,7 +84,7 @@ sub do_ipsec_options($)
|
|||||||
}
|
}
|
||||||
|
|
||||||
$options .= $invert;
|
$options .= $invert;
|
||||||
$options .= "--$e";
|
$options .= " --$e";
|
||||||
$options .= " $val" if defined $val;
|
$options .= " $val" if defined $val;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user