mirror of
https://gitlab.com/shorewall/code.git
synced 2025-01-02 11:39:21 +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>
|
||||
<para>The <replaceable>variable</replaceable> can be specified
|
||||
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
|
||||
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
|
||||
change their values <ulink url="Actions.html#Embedded">using embedded
|
||||
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 id="AddressVariables">
|
||||
|
Loading…
Reference in New Issue
Block a user