mirror of
https://gitlab.com/shorewall/code.git
synced 2025-06-25 04:01:45 +02:00
Use logical add rather than arithmetic add for uniformity
Signed-off-by: Tom Eastep <teastep@shorewall.net>
This commit is contained in:
parent
ae9f538ef8
commit
42950e53cd
@ -346,7 +346,7 @@ sub remove_blacklist( $ ) {
|
|||||||
|
|
||||||
open $newfile, '>', "$fn.new" or fatal_error "Unable to open $fn.new for output: $!";
|
open $newfile, '>', "$fn.new" or fatal_error "Unable to open $fn.new for output: $!";
|
||||||
|
|
||||||
while ( read_a_line( EMBEDDED_ENABLED + EXPAND_VARIABLES ) ) {
|
while ( read_a_line( EMBEDDED_ENABLED | EXPAND_VARIABLES ) ) {
|
||||||
my ( $rule, $comment ) = split '#', $currentline, 2;
|
my ( $rule, $comment ) = split '#', $currentline, 2;
|
||||||
|
|
||||||
if ( $rule =~ /blacklist/ ) {
|
if ( $rule =~ /blacklist/ ) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user