mirror of
https://gitlab.com/shorewall/code.git
synced 2024-11-22 07:33:43 +01:00
Clarify the requirement for accessing $n in an action body
Signed-off-by: Tom Eastep <teastep@shorewall.net>
This commit is contained in:
parent
8e0a90e077
commit
83111a1126
@ -401,6 +401,10 @@ REDIRECT net - tcp 80 - 1.2.3.4</programlisting>
|
||||
|
||||
<para>This example behaves the same as the one shown above.</para>
|
||||
|
||||
<para>If you refer to a parameter $n in the body of the action, then the
|
||||
nth paramer must either be passed to all action invocations or it's
|
||||
default value must be established via a DEFAULTS line.</para>
|
||||
|
||||
<para>If you want to make '-' a parameter value, use '--' (e.g.,
|
||||
ACTION(REDIRECT,--.info)).</para>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user