From a07b0277e317993e0288447a40f5e538458df180 Mon Sep 17 00:00:00 2001 From: teastep Date: Thu, 22 Nov 2007 16:53:49 +0000 Subject: [PATCH] Remove silly tests git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@7714 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb --- Shorewall-perl/Shorewall/Rules.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Shorewall-perl/Shorewall/Rules.pm b/Shorewall-perl/Shorewall/Rules.pm index b7f848aa7..da818d70f 100644 --- a/Shorewall-perl/Shorewall/Rules.pm +++ b/Shorewall-perl/Shorewall/Rules.pm @@ -1279,7 +1279,7 @@ sub process_rule ( $$$$$$$$$$ ) { $source = 'all'; $includesrcfw = 0; } else { - fatal_error "Invalid SOURCE ($source)" unless $source eq 'all'; + fatal_error "Invalid SOURCE ($source)"; } } @@ -1295,7 +1295,7 @@ sub process_rule ( $$$$$$$$$$ ) { $dest = 'all'; $includedstfw = 0; } else { - fatal_error "Invalid DEST ($dest)" unless $dest eq 'all'; + fatal_error "Invalid DEST ($dest)"; } }