forked from extern/shorewall_code
Restore 'update -b' functionality
Signed-off-by: Tom Eastep <teastep@shorewall.net>
This commit is contained in:
parent
a87a981a2e
commit
f5c09a9e2e
@ -791,7 +791,7 @@ sub compiler {
|
|||||||
#
|
#
|
||||||
# Process the rules file.
|
# Process the rules file.
|
||||||
#
|
#
|
||||||
process_rules;
|
process_rules( $convert );
|
||||||
#
|
#
|
||||||
# Add Tunnel rules.
|
# Add Tunnel rules.
|
||||||
#
|
#
|
||||||
|
@ -2525,11 +2525,13 @@ sub classic_blacklist() {
|
|||||||
#
|
#
|
||||||
# Process the BLRules and Rules Files
|
# 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
|
# Generate jumps to the classic blacklist chains
|
||||||
#
|
#
|
||||||
my $blrules = classic_blacklist;
|
$blrules = classic_blacklist unless $convert;
|
||||||
#
|
#
|
||||||
# Process the blrules file
|
# Process the blrules file
|
||||||
#
|
#
|
||||||
|
Loading…
Reference in New Issue
Block a user