Count PPS/BPS values themselves when matching.

This commit is contained in:
gamemann
2022-08-27 15:27:07 +00:00
parent 2a41af6be2
commit 3810a3695e

View File

@@ -444,13 +444,13 @@ int xdp_prog_main(struct xdp_md *ctx)
}
// PPS.
if (filter->do_pps && pps <= filter->pps)
if (filter->do_pps && pps < filter->pps)
{
continue;
}
// BPS.
if (filter->do_bps && bps <= filter->bps)
if (filter->do_bps && bps < filter->bps)
{
continue;
}