mirror of
https://gitlab.com/shorewall/code.git
synced 2024-11-23 16:13:18 +01:00
Initialize the columns array to '-'s.
Signed-off-by: Tom Eastep <teastep@shorewall.net>
This commit is contained in:
parent
316b67473e
commit
670931c987
@ -227,8 +227,12 @@ sub initialize( $ ) {
|
||||
# Action variants actually used. Key is <action>:<loglevel>:<tag>:<params>; value is corresponding chain name
|
||||
#
|
||||
%usedactions = ();
|
||||
|
||||
@columns = ();
|
||||
#
|
||||
# Columns $source through $wildcard -- with the exception of the latter, these correspond to the rules file columns
|
||||
# The columns array is a hidden argument to perl_action_helper() and perl_action_tcp_helper() that allows Perl
|
||||
# code in inline actions to generate proper rules.
|
||||
#
|
||||
@columns = ( '-', '-', '-', '-', '-', '-', '-', '-', '-', '-', '-', '-', '-', '-', 0 );
|
||||
@columnstack = ();
|
||||
|
||||
if ( $family == F_IPV4 ) {
|
||||
|
Loading…
Reference in New Issue
Block a user