module: network: add 'kind' tag

The tag maps to the IFLA_INFO_KIND (part of the IFLA_LINKINFO)
netlink attribute.

This attribute is only available on virtual interfaces. Examples of
valid values are:

* bond
* bridge
* gre
* tun
* veth
This commit is contained in:
Daniel Eklöf 2024-04-30 10:22:04 +02:00
parent a5ae61b5df
commit 699c563051
No known key found for this signature in database
GPG key ID: 5BBD4992C116573F
3 changed files with 93 additions and 48 deletions

View file

@ -19,6 +19,7 @@
* Log output now respects the [`NO_COLOR`](http://no-color.org/)
environment variable.
* network: `type` tag ([#380][380]).
* network: `type` and `kind` tags ([#380][380]).
[96]: https://codeberg.org/dnkl/yambar/issues/96
[380]: https://codeberg.org/dnkl/yambar/issues/380