]> git.ipfire.org Git - thirdparty/iproute2.git/commit
ip-monitor: Include stats events in default and "all" cases
authorBenjamin Poirier <bpoirier@nvidia.com>
Thu, 22 Sep 2022 06:19:37 +0000 (15:19 +0900)
committerStephen Hemminger <stephen@networkplumber.org>
Fri, 30 Sep 2022 19:36:40 +0000 (12:36 -0700)
commit4e8a9914c4d459be57ddedf1df35b315e7fea8a5
treedecfa5a27783d3a1b7b5a72a4b8e0d97084b7000
parentf8cf8b5db1a9672d03c5d0c6b7bc6dc2ac582f28
ip-monitor: Include stats events in default and "all" cases

It seems that stats were omitted from `ip monitor` and `ip monitor all`.
Since all other event types are included, include stats as well. Use the
same logic as for nexthops.

Fixes: a05a27c07cbf ("ipmonitor: Add monitoring support for stats events")
Reviewed-by: Ido Schimmel <idosch@nvidia.com>
Signed-off-by: Benjamin Poirier <bpoirier@nvidia.com>
Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
ip/ipmonitor.c