Fix a couple of bugs in 5.0.0

Signed-off-by: Tom Eastep <teastep@shorewall.net>
This commit is contained in:
Tom Eastep 2015-08-16 10:05:21 -07:00
parent c604823053
commit 6bdf90631c
2 changed files with 0 additions and 3 deletions

View File

@ -1975,7 +1975,6 @@ sub process_macro ($$$$$$$$$$$$$$$$$$$$$) {
if ( $file_format == 1 ) {
fatal_error( "FORMAT-1 macros are no longer supported" );
( $morigdest, $mmark, $mconnlimit, $mtime, $mheaders, $mcondition, $mhelper ) = qw/- - - - - - -/;
} else {
( $mtarget,
$msource,

View File

@ -3229,8 +3229,6 @@ sub setup_tc( $ ) {
close $mangle, directive_callback( 0 ) if $tcrules;
} elsif ( $tcrules ) {
close $mangle, directive_callback( 0 );
if ( -f ( my $fn = find_file( 'tcrules' ) ) ) {
if ( unlink $fn ) {
warning_message "Empty tcrules file ($fn) removed";