From 74868063b947f2ca76f9519e74a42d21743c1624 Mon Sep 17 00:00:00 2001 From: teastep Date: Fri, 7 Dec 2007 20:58:19 +0000 Subject: [PATCH] Make error messages about invalid option value consistent git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@7857 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb --- Shorewall-perl/Shorewall/Zones.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Shorewall-perl/Shorewall/Zones.pm b/Shorewall-perl/Shorewall/Zones.pm index f5f4de596..798e157c0 100644 --- a/Shorewall-perl/Shorewall/Zones.pm +++ b/Shorewall-perl/Shorewall/Zones.pm @@ -701,7 +701,7 @@ sub validate_interfaces_file( $ ) } elsif ( $type == NUMERIC_IF_OPTION ) { fatal_error "The $option option requires a value" unless defined $value; my $numval = numeric_value $value; - fatal_error "Invalid value for option $option ($value)" unless defined $numval; + fatal_error "Invalid value ($value) for option $option" unless defined $numval; $options{$option} = $numval; } else { warning_message "Support for the $option interface option has been removed from Shorewall-perl";