mirror of
https://gitlab.com/shorewall/code.git
synced 2024-12-24 23:28:59 +01:00
Apply Mr-4's cosmetic patch
Signed-off-by: Tom Eastep <teastep@shorewall.net>
This commit is contained in:
parent
7e830e5df4
commit
52f5ae15d1
@ -234,8 +234,7 @@ sub process_accounting_rule1( $$$$$$$$$$$ ) {
|
|||||||
} elsif ( $action =~ /^NFACCT\((.+)\)$/ ) {
|
} elsif ( $action =~ /^NFACCT\((.+)\)$/ ) {
|
||||||
require_capability 'NFACCT_MATCH', 'The NFACCT action', 's';
|
require_capability 'NFACCT_MATCH', 'The NFACCT action', 's';
|
||||||
$target = '';
|
$target = '';
|
||||||
my @objects = split_nfacct_list $1;
|
for ( my @objects = split_nfacct_list $1 ) {
|
||||||
for ( @objects ) {
|
|
||||||
if ( $_ =~ /^([\w%&@~]+)(!)?$/ ) {
|
if ( $_ =~ /^([\w%&@~]+)(!)?$/ ) {
|
||||||
if ( $2 ) {
|
if ( $2 ) {
|
||||||
$prerule .= "-m nfacct --nfacct-name $1 ";
|
$prerule .= "-m nfacct --nfacct-name $1 ";
|
||||||
|
Loading…
Reference in New Issue
Block a user