commit | c7fe2f38477f5f90569f73bacd6fab3a8a739f62 | [log] [tgz] |
---|---|---|
author | Michal Kubecek <mkubecek@suse.cz> | Mon Oct 19 23:32:40 2020 +0200 |
committer | Michal Kubecek <mkubecek@suse.cz> | Wed Oct 21 11:39:00 2020 +0200 |
tree | bc22f066365541bc0426bb1f41aa16b4e5a7b2db | |
parent | 5da1e8ed6067ec700fe0d0e2653968677155a1f1 [diff] |
netlink: support u32 enumerated types in pretty printing Some numeric attributes take values from a short list/range with symbolic names. Showing the symbolic names instead of numeric values will make the pretty printed netlink messages easier to read. If the value is too big for provided names array (e.g. running on newer kernel) or the name is omitted, numeric attribute value is shown. Signed-off-by: Michal Kubecek <mkubecek@suse.cz>