forked from extern/shorewall_code
Support '+' in SNAT action invocation
Signed-off-by: Tom Eastep <teastep@shorewall.net>
This commit is contained in:
parent
5b5f91f75f
commit
0e7d5f3972
@ -5376,6 +5376,8 @@ sub process_snat1( $$$$$$$$$$$$ ) {
|
||||
} else {
|
||||
( $target , $params ) = get_target_param1( $action );
|
||||
|
||||
$pre_nat = ( $target =~ s/\+$//; )
|
||||
|
||||
$actiontype = $targets{$target};
|
||||
|
||||
fatal_error "Invalid ACTION ($action)" unless $actiontype & ( ACTION | INLINE );
|
||||
|
@ -145,7 +145,7 @@
|
||||
|
||||
<varlistentry>
|
||||
<term><emphasis
|
||||
role="bold"><replaceable>action</replaceable></emphasis>[(<replaceable>parameter</replaceable>,...)]</term>
|
||||
role="bold"><replaceable>action</replaceable></emphasis>[+][(<replaceable>parameter</replaceable>,...)]</term>
|
||||
|
||||
<listitem>
|
||||
<para>where <replaceable>action</replaceable> is an action
|
||||
|
@ -144,7 +144,7 @@
|
||||
|
||||
<varlistentry>
|
||||
<term><emphasis
|
||||
role="bold"><replaceable>action</replaceable></emphasis>[(<replaceable>parameter</replaceable>,...)]</term>
|
||||
role="bold"><replaceable>action</replaceable></emphasis>[+][(<replaceable>parameter</replaceable>,...)]</term>
|
||||
|
||||
<listitem>
|
||||
<para>where <replaceable>action</replaceable> is an action
|
||||
|
Loading…
Reference in New Issue
Block a user