Be sure that {frozen} is defined

This commit is contained in:
Tom Eastep 2010-09-17 12:08:48 -07:00
parent 28aa7b8267
commit 2e3635ff50

View File

@ -690,8 +690,7 @@ sub increment_reference_count( $$ ) {
#
# 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
# a zone-oriented chain, hence this function.
#
sub move_rules( $$ ) {
my ($chain1, $chain2 ) = @_;
@ -1011,7 +1010,8 @@ sub new_chain($$)
loglevel => '',
log => 1,
cmdlevel => 0,
references => {} };
references => {},
frozen => 0 };
trace( $chainref, 'N', undef, '' ) if $debug;