forked from extern/shorewall_code
Correct error message generated in Sorensen't patch
git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@8793 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
This commit is contained in:
parent
284a26b18c
commit
dcb0861a45
@ -1420,7 +1420,7 @@ sub do_helper( $ ) {
|
||||
sub do_length( $ ) {
|
||||
my $length = $_[0];
|
||||
|
||||
require_capability( 'LENGTH_MATCH' , 'Your kernel and/or iptables does not have length match support.' , '' );
|
||||
require_capability( 'LENGTH_MATCH' , 'A Non-empty LENGTH' , 's' );
|
||||
$length ne '-' ? "-m length --length $length " : '';
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user