From 7bfbf522bc1c29239ed5441ce59dfd6079fa9f6f Mon Sep 17 00:00:00 2001 From: Tom Eastep Date: Wed, 21 Nov 2012 11:12:55 -0800 Subject: [PATCH] Document that parameters are allowed in default actions. Signed-off-by: Tom Eastep --- Shorewall/manpages/shorewall.conf.xml | 7 ++++++- Shorewall6/manpages/shorewall6.conf.xml | 7 +++++-- 2 files changed, 11 insertions(+), 3 deletions(-) diff --git a/Shorewall/manpages/shorewall.conf.xml b/Shorewall/manpages/shorewall.conf.xml index e8952bc0e..b848f9563 100644 --- a/Shorewall/manpages/shorewall.conf.xml +++ b/Shorewall/manpages/shorewall.conf.xml @@ -159,7 +159,7 @@ parameters (e.g., 'Drop(audit)'). b) The name of a macro - (Shorewall 4.5.10 and Laater) + (Shorewall 4.5.10 and Later) c) None or none @@ -189,6 +189,11 @@ use a macro with the same name as an existing action, you may specify the name of the macro file (e.g., macro.macro-name). + + You can pass parameters to the specified action or macro + (e.g., myaction(audit,DROP)). In the case of a + macro, only a single parameter may be passed; that parameter is + interpreted as the log level for rules in the macro body. diff --git a/Shorewall6/manpages/shorewall6.conf.xml b/Shorewall6/manpages/shorewall6.conf.xml index c3f8d59dc..13a6c156a 100644 --- a/Shorewall6/manpages/shorewall6.conf.xml +++ b/Shorewall6/manpages/shorewall6.conf.xml @@ -162,13 +162,16 @@ specified in shorewall6-policy(5). - - Beginning with Shorewall 4.5.10, action may name a macro. If you wish to use a macro with the same name as an existing action, you may specify the name of the macro file here (e.g., macro.macro-name). + + You can pass parameters to the specified action or macro + (e.g., myaction(audit,DROP)). In the case of a + macro, only a single parameter may be passed; that parameter is + interpreted as the log level for rules in the macro body.