Add a comment to the params for process_rule_common()

Signed-off-by: Tom Eastep <teastep@shorewall.net>
This commit is contained in:
Tom Eastep 2010-12-12 13:02:27 -08:00
parent 2e7dd0de97
commit ff402dcf09

View File

@ -965,7 +965,23 @@ sub process_macro ( $$$$$$$$$$$$$$$$$ ) {
# the target is a macro, the macro is expanded and this function is called recursively for each rule in the expansion.
#
sub process_rule_common ( $$$$$$$$$$$$$$$$ ) {
my ( $chainref, $target, $current_param, $source, $dest, $proto, $ports, $sports, $origdest, $ratelimit, $user, $mark, $connlimit, $time, $headers, $wildcard ) = @_;
my ( $chainref, #reference to Action Chain if we are being called from process_action3()
$target,
$current_param,
$source,
$dest,
$proto,
$ports,
$sports,
$origdest,
$ratelimit,
$user,
$mark,
$connlimit,
$time,
$headers,
$wildcard ) = @_;
my ( $action, $loglevel) = split_action $target;
my ( $basictarget, $param ) = get_target_param $action;
my $rule = '';