Change an error message

git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@5653 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
This commit is contained in:
teastep 2007-03-24 15:03:23 +00:00
parent a64b9b86f4
commit 6f40ceabf1

View File

@ -417,7 +417,7 @@ sub first_chains( $ ) #$1 = interface
}
#
# Split a source or destination list but keep [...] together.
# Split a source or destination host list but keep [...] together.
#
sub mysplit( $ ) {
my @input = split /,/, $_[0];
@ -432,7 +432,7 @@ sub mysplit( $ ) {
$element .= ( ',' . shift @input );
}
fatal_error "Invalid List $_[0]" unless substr( $element, -1, 1 ) eq ']';
fatal_error "Invalid Host List ($_[0])" unless substr( $element, -1, 1 ) eq ']';
}
push @result, $element;