mirror of
https://gitlab.com/shorewall/code.git
synced 2025-06-23 03:01:27 +02:00
Add some comments describing Config.pm globals
- Also changed $shell from 'my' to 'our'. Signed-off-by: Tom Eastep <teastep@shorewall.net>
This commit is contained in:
parent
84cc78c58e
commit
14bbda14a2
@ -494,13 +494,13 @@ our $first_entry; # Message to output or function to call on first no
|
|||||||
our $file_format; # Format of configuration file.
|
our $file_format; # Format of configuration file.
|
||||||
our $max_format; # Max format value
|
our $max_format; # Max format value
|
||||||
our $comment; # Current COMMENT
|
our $comment; # Current COMMENT
|
||||||
our $comments_allowed;
|
our $comments_allowed; # True if [?]COMMENT is allowed in the current file
|
||||||
our $nocomment;
|
our $nocomment; # When true, ignore [?]COMMENT in the current file
|
||||||
our $warningcount;
|
our $warningcount; # Used to suppress duplicate warnings about missing COMMENT support
|
||||||
our $warningcount1;
|
our $warningcount1; # Used to suppress duplicate warnings about COMMENT being deprecated
|
||||||
our $warningcount2;
|
our $warningcount2; # Used to suppress duplicate warnings about FORMAT being deprecated
|
||||||
|
|
||||||
our $shorewall_dir; # Shorewall Directory; if non-empty, search here first for files.
|
our $shorewall_dir; # Shorewall Directory; if non-empty, search here first for files.
|
||||||
|
|
||||||
our $debug; # Global debugging flag
|
our $debug; # Global debugging flag
|
||||||
our $confess; # If true, use Carp to report errors with stack trace.
|
our $confess; # If true, use Carp to report errors with stack trace.
|
||||||
@ -513,11 +513,11 @@ our $Product; # $product with initial cap.
|
|||||||
|
|
||||||
our $sillyname; # Name of temporary filter chains for testing capabilities
|
our $sillyname; # Name of temporary filter chains for testing capabilities
|
||||||
our $sillyname1;
|
our $sillyname1;
|
||||||
our $iptables; # Path to iptables/ip6tables
|
our $iptables; # Path to iptables/ip6tables
|
||||||
our $tc; # Path to tc
|
our $tc; # Path to tc
|
||||||
our $ip; # Path to ip
|
our $ip; # Path to ip
|
||||||
|
|
||||||
my $shell; # Type of shell that processed the params file
|
our $shell; # Type of shell that processed the params file
|
||||||
|
|
||||||
use constant { BASH => 1,
|
use constant { BASH => 1,
|
||||||
OLDBASH => 2,
|
OLDBASH => 2,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user