From 16fd4589487453370ac12000b7ed80c352f591e0 Mon Sep 17 00:00:00 2001 From: teastep Date: Mon, 15 Oct 2007 17:20:47 +0000 Subject: [PATCH] Document third argument to add_rule() git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@7469 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb --- docs/shorewall_extension_scripts.xml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/docs/shorewall_extension_scripts.xml b/docs/shorewall_extension_scripts.xml index c69f650ee..96d4f051a 100644 --- a/docs/shorewall_extension_scripts.xml +++ b/docs/shorewall_extension_scripts.xml @@ -416,9 +416,10 @@ esac 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. + 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. To insert a rule into the chain: insert_rule( $chainref, <rulenum>, <the rule> );The log_rule_limit() function works like it