mirror of
https://gitlab.com/shorewall/code.git
synced 2024-12-22 22:30:58 +01:00
Clarify the <variable> forms allowed in a ?SET directive.
Signed-off-by: Tom Eastep <teastep@shorewall.net>
This commit is contained in:
parent
9b30f48ba0
commit
ca5a70aa6f
@ -1484,7 +1484,8 @@ SHELL cat /etc/shorewall/rules.d/*.rules 2> /dev/null || true</programlisting
|
|||||||
<listitem>
|
<listitem>
|
||||||
<para>The <replaceable>variable</replaceable> can be specified
|
<para>The <replaceable>variable</replaceable> can be specified
|
||||||
either with or without a leading '$' to allow using both Perl and
|
either with or without a leading '$' to allow using both Perl and
|
||||||
Shell variable representation.</para>
|
Shell variable representation. The ${...} form (e.g. ${foo}) is not
|
||||||
|
allowed.</para>
|
||||||
|
|
||||||
<para>The <replaceable>value</replaceable> is a Perl-compatible
|
<para>The <replaceable>value</replaceable> is a Perl-compatible
|
||||||
expression.</para>
|
expression.</para>
|
||||||
@ -1517,6 +1518,11 @@ SHELL cat /etc/shorewall/rules.d/*.rules 2> /dev/null || true</programlisting
|
|||||||
<para>Action variables are read-only and cannot be ?SET (although you can
|
<para>Action variables are read-only and cannot be ?SET (although you can
|
||||||
change their values <ulink url="Actions.html#Embedded">using embedded
|
change their values <ulink url="Actions.html#Embedded">using embedded
|
||||||
Perl</ulink>).</para>
|
Perl</ulink>).</para>
|
||||||
|
|
||||||
|
<para>Beginning with Shorewall 4.5.13, <link
|
||||||
|
linkend="ShorewallVariables">Shorewall Variables</link> may be set. When
|
||||||
|
setting a Shorewall Variable, the <replaceable>variable</replaceable> must
|
||||||
|
include the leading '@' and the @{...} form is not allowed.</para>
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
<section id="AddressVariables">
|
<section id="AddressVariables">
|
||||||
|
Loading…
Reference in New Issue
Block a user