mirror of
https://gitlab.com/shorewall/code.git
synced 2025-06-19 17:28:35 +02:00
Correct line split in the Accounting module
Signed-off-by: Tom Eastep <teastep@shorewall.net>
This commit is contained in:
parent
4e4e7cac1d
commit
fad3b42bd3
@ -424,9 +424,11 @@ sub process_accounting_rule1( $$$$$$$$$$$ ) {
|
|||||||
sub process_accounting_rule( ) {
|
sub process_accounting_rule( ) {
|
||||||
|
|
||||||
my ($action, $chain, $source, $dest, $protos, $ports, $sports, $user, $mark, $ipsec, $headers ) =
|
my ($action, $chain, $source, $dest, $protos, $ports, $sports, $user, $mark, $ipsec, $headers ) =
|
||||||
split_line1( 'Accounting File',
|
split_line2( 'Accounting File',
|
||||||
{ action => 0, chain => 1, source => 2, dest => 3, proto => 4, dport => 5, sport => 6, user => 7, mark => 8, ipsec => 9, headers => 10 } );
|
{ action => 0, chain => 1, source => 2, dest => 3, proto => 4, dport => 5, sport => 6, user => 7, mark => 8, ipsec => 9, headers => 10 },
|
||||||
|
{}, #nopad
|
||||||
|
undef, #Max columns
|
||||||
|
1 );
|
||||||
my $nonempty = 0;
|
my $nonempty = 0;
|
||||||
|
|
||||||
for my $proto ( split_list $protos, 'Protocol' ) {
|
for my $proto ( split_list $protos, 'Protocol' ) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user