From 98e5d54b922b5ee4fcf8f29eac6744cefdd99e33 Mon Sep 17 00:00:00 2001 From: Tom Eastep Date: Fri, 21 Aug 2015 13:39:25 -0700 Subject: [PATCH] Allow 'none' in the log level argument to AutoBL Signed-off-by: Tom Eastep --- Shorewall/action.AutoBL | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Shorewall/action.AutoBL b/Shorewall/action.AutoBL index 93bac6f54..043dcb1ff 100644 --- a/Shorewall/action.AutoBL +++ b/Shorewall/action.AutoBL @@ -33,7 +33,7 @@ fatal_error "Invalid successive interval ($succesive) passed to AutoBL" unless $ fatal_error "Invalid packet count ($count) passed to AutoBL" unless $count =~ /^\d+$/ && $count; fatal_error "Invalid blacklist time ($bltime) passed to AutoBL" unless $bltime =~ /^\d+$/ && $bltime; validate_level( $level ); - +1; ?end perl ############################################################################### #TARGET SOURCE DEST PROTO DPORT SPORT