mirror of
https://gitlab.com/shorewall/code.git
synced 2024-11-14 03:34:31 +01:00
Fix a couple of bugs in 5.0.0
Signed-off-by: Tom Eastep <teastep@shorewall.net>
This commit is contained in:
parent
c604823053
commit
6bdf90631c
@ -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,
|
||||
|
@ -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";
|
||||
|
Loading…
Reference in New Issue
Block a user