forked from extern/shorewall_code
Restore 'update -b' functionality
Signed-off-by: Tom Eastep <teastep@shorewall.net>
This commit is contained in:
parent
bd959884cc
commit
f4be778b86
@ -791,7 +791,7 @@ sub compiler {
|
||||
#
|
||||
# Process the rules file.
|
||||
#
|
||||
process_rules;
|
||||
process_rules( $convert );
|
||||
#
|
||||
# Add Tunnel rules.
|
||||
#
|
||||
|
@ -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
|
||||
#
|
||||
|
Loading…
Reference in New Issue
Block a user