mirror of
https://gitlab.com/shorewall/code.git
synced 2024-12-15 10:51:02 +01:00
Fix tag handling in Limit()
This commit is contained in:
parent
a8084370b6
commit
ad57272c7f
@ -609,7 +609,7 @@ sub Limit( $$$$ ) {
|
||||
|
||||
if ( $level ne '' ) {
|
||||
my $xchainref = new_chain 'filter' , "$chainref->{name}%";
|
||||
log_rule_limit $level, $xchainref, $param[0], 'DROP', $tag, '', 'add', '';
|
||||
log_rule_limit $level, $xchainref, $param[0], 'DROP', '', $tag, 'add', '';
|
||||
add_rule $xchainref, '-j DROP';
|
||||
add_jump $chainref, $xchainref, 0, "-m recent --name $set --update --seconds $param[2] --hitcount $count ";
|
||||
} else {
|
||||
|
Loading…
Reference in New Issue
Block a user