From abe533b6e32b602b37bbfe72506e9477598bdada Mon Sep 17 00:00:00 2001 From: Tom Eastep Date: Sat, 19 Mar 2016 13:45:33 -0700 Subject: [PATCH] Correct the action on ingress filters Signed-off-by: Tom Eastep --- Shorewall/Perl/Shorewall/Tc.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Shorewall/Perl/Shorewall/Tc.pm b/Shorewall/Perl/Shorewall/Tc.pm index bffbd96fb..bb83820ed 100644 --- a/Shorewall/Perl/Shorewall/Tc.pm +++ b/Shorewall/Perl/Shorewall/Tc.pm @@ -225,11 +225,11 @@ sub handle_in_bandwidth( $$$ ) { if ( have_capability 'BASIC_FILTER' ) { if ( $in_rate ) { emit( "run_tc filter add dev $physical parent ffff: protocol all prio 10 basic \\", - " police mpu 64 rate ${in_rate}kbit burst $in_burst action drop\n" ); + " police mpu 64 drop rate ${in_rate}kbit burst $in_burst\n" ); } else { emit( "run_tc filter add dev $physical parent ffff: protocol all prio 10 \\", " estimator $in_interval $in_decay basic \\", - " police avrate ${in_avrate}kbit action drop\n" ); + " police drop avrate ${in_avrate}kbit\n" ); } } else { emit( "run_tc filter add dev $physical parent ffff: protocol all prio 10 \\" ,