forked from extern/shorewall_code
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:
parent
a64b9b86f4
commit
6f40ceabf1
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user