mirror of
https://gitlab.com/shorewall/code.git
synced 2025-01-15 01:58:48 +01:00
Be sure that {frozen} is defined
This commit is contained in:
parent
28aa7b8267
commit
2e3635ff50
@ -690,8 +690,7 @@ sub increment_reference_count( $$ ) {
|
|||||||
#
|
#
|
||||||
# The rules generated by interface options are added to the interfaces's input chain and
|
# The rules generated by interface options are added to the interfaces's input chain and
|
||||||
# forward chain. Shorewall::Rules::generate_matrix() may decide to move those rules to
|
# forward chain. Shorewall::Rules::generate_matrix() may decide to move those rules to
|
||||||
# a zone-oriented chain, hence this function.
|
|
||||||
#
|
|
||||||
sub move_rules( $$ ) {
|
sub move_rules( $$ ) {
|
||||||
my ($chain1, $chain2 ) = @_;
|
my ($chain1, $chain2 ) = @_;
|
||||||
|
|
||||||
@ -1011,7 +1010,8 @@ sub new_chain($$)
|
|||||||
loglevel => '',
|
loglevel => '',
|
||||||
log => 1,
|
log => 1,
|
||||||
cmdlevel => 0,
|
cmdlevel => 0,
|
||||||
references => {} };
|
references => {},
|
||||||
|
frozen => 0 };
|
||||||
|
|
||||||
trace( $chainref, 'N', undef, '' ) if $debug;
|
trace( $chainref, 'N', undef, '' ) if $debug;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user