]> git.proxmox.com Git - mirror_iproute2.git/commit - genl/ctrl.c
genl: ctrl: print op -> policy idx mapping
authorJohannes Berg <johannes@sipsolutions.net>
Sat, 3 Oct 2020 08:45:32 +0000 (10:45 +0200)
committerDavid Ahern <dsahern@gmail.com>
Mon, 12 Oct 2020 02:10:09 +0000 (20:10 -0600)
commit781201284923f503472099446648b2db4caffddd
tree08b0d6a5df8ccc30858c2d8143eaeea402851bf5
parent91c54917cd36e329cbcbb571ec2a1ed40d4c6bac
genl: ctrl: print op -> policy idx mapping

Newer kernels can dump per-op policies, so print out the new
mapping attribute to indicate which op has which policy.

v2:
 * print out both do/dump policy idx
v3:
 * fix userspace API which renumbered after patch rebasing

Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Signed-off-by: David Ahern <dsahern@gmail.com>
genl/ctrl.c