forked from extern/shorewall_code
Fix silly bug in policy CONNLIMIT
git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@8792 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
This commit is contained in:
parent
96b02007a1
commit
284a26b18c
@ -304,8 +304,8 @@ sub validate_policy()
|
||||
if ( $synparams ne '' || $connlimit ne '' ) {
|
||||
my $value = '';
|
||||
fatal_error "Invalid CONNLIMIT ($connlimit)" if $connlimit =~ /^!/;
|
||||
$value = do_ratelimit $synparams, 'ACCEPT' if $synparams ne '';
|
||||
$value = do_connlimit $connlimit if $connlimit ne '';
|
||||
$value = do_ratelimit $synparams, 'ACCEPT' if $synparams ne '';
|
||||
$value .= do_connlimit $connlimit if $connlimit ne '';
|
||||
$chainref->{synparams} = $value;
|
||||
$chainref->{synchain} = $chain
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user