Clarify the <variable> forms allowed in a ?SET directive.

Signed-off-by: Tom Eastep <teastep@shorewall.net>
This commit is contained in:
Tom Eastep 2013-02-02 11:08:29 -08:00
parent 9b30f48ba0
commit ca5a70aa6f

View File

@ -1484,7 +1484,8 @@ SHELL cat /etc/shorewall/rules.d/*.rules 2&gt; /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&gt; /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">