Restore 'update -b' functionality

Signed-off-by: Tom Eastep <teastep@shorewall.net>
This commit is contained in:
Tom Eastep 2012-02-07 07:38:07 -08:00
parent bd959884cc
commit f4be778b86
2 changed files with 5 additions and 3 deletions

View File

@ -791,7 +791,7 @@ sub compiler {
#
# Process the rules file.
#
process_rules;
process_rules( $convert );
#
# Add Tunnel rules.
#

View File

@ -2525,11 +2525,13 @@ sub classic_blacklist() {
#
# Process the BLRules and Rules Files
#
sub process_rules() {
sub process_rules( $ ) {
my $convert = shift;
my $blrules = 0;
#
# Generate jumps to the classic blacklist chains
#
my $blrules = classic_blacklist;
$blrules = classic_blacklist unless $convert;
#
# Process the blrules file
#