Document third argument to add_rule()

git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@7469 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
This commit is contained in:
teastep 2007-10-15 17:20:47 +00:00
parent 508fbf0d45
commit 16fd458948

View File

@ -416,9 +416,10 @@ esac</programlisting><caution>
<para>Beginning with Shorewall 4.0.5, add_rule() accepts an optional
third argument; If that argument evaluates to true and the passed rule
contains a --dports list with more than 15 ports (a port range counts as
two ports), the rule will be split into multiple rules where each
resulting rule has 15 or fewer ports in its --dports list.</para>
contains a <emphasis role="bold">--dports</emphasis> list with more than
15 ports (a port range counts as two ports), the rule will be split into
multiple rules where each resulting rule has 15 or fewer ports in its
<emphasis role="bold">--dports</emphasis> list.</para>
<para>To insert a rule into the chain:<programlisting> insert_rule( $chainref, &lt;<emphasis>rulenum</emphasis>&gt;, &lt;<emphasis>the rule</emphasis>&gt; );</programlisting>The
<emphasis role="bold">log_rule_limit()</emphasis> function works like it