network,udev/net: add Kind= settings in [Match] section

This may be useful for writing .network or .link files matching with
virtual interfaces.

Closes #22541.
This commit is contained in:
Yu Watanabe
2022-02-17 23:10:26 +09:00
parent 430f07f4f8
commit 65022cd7ab
14 changed files with 53 additions and 3 deletions
+1
View File
@@ -1169,6 +1169,7 @@ static int link_get_network(Link *link, Network **ret) {
&link->permanent_hw_addr,
link->driver,
link->iftype,
link->kind,
link->ifname,
link->alternative_names,
link->wlan_iftype,