forked from extern/shorewall_code
Document that parameters are allowed in default actions.
Signed-off-by: Tom Eastep <teastep@shorewall.net>
This commit is contained in:
parent
1efd47a7e9
commit
7bfbf522bc
@ -159,7 +159,7 @@
|
||||
parameters (e.g., 'Drop(audit)').</member>
|
||||
|
||||
<member>b) The name of a <replaceable>macro</replaceable>
|
||||
(Shorewall 4.5.10 and Laater)</member>
|
||||
(Shorewall 4.5.10 and Later)</member>
|
||||
|
||||
<member>c) <emphasis role="bold">None</emphasis> or <emphasis
|
||||
role="bold">none</emphasis></member>
|
||||
@ -189,6 +189,11 @@
|
||||
use a macro with the same name as an existing action, you may
|
||||
specify the name of the macro file (e.g., <emphasis
|
||||
role="bold">macro.</emphasis><replaceable>macro-name</replaceable>).</para>
|
||||
|
||||
<para>You can pass parameters to the specified action or macro
|
||||
(e.g., <emphasis>myaction(audit,DROP)</emphasis>). In the case of a
|
||||
macro, only a single parameter may be passed; that parameter is
|
||||
interpreted as the log level for rules in the macro body.</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
||||
|
@ -162,13 +162,16 @@
|
||||
specified in <ulink
|
||||
url="shorewall6-policy.html">shorewall6-policy</ulink>(5).</para>
|
||||
|
||||
<para></para>
|
||||
|
||||
<para>Beginning with Shorewall 4.5.10,
|
||||
<replaceable>action</replaceable> may name a macro. If you wish to
|
||||
use a macro with the same name as an existing action, you may
|
||||
specify the name of the macro file here (e.g., <emphasis
|
||||
role="bold">macro.</emphasis><replaceable>macro-name</replaceable>).</para>
|
||||
|
||||
<para>You can pass parameters to the specified action or macro
|
||||
(e.g., <emphasis>myaction(audit,DROP)</emphasis>). In the case of a
|
||||
macro, only a single parameter may be passed; that parameter is
|
||||
interpreted as the log level for rules in the macro body.</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user