diff options
author | Yu Watanabe <watanabe.yu+github@gmail.com> | 2022-02-17 13:06:12 +0100 |
---|---|---|
committer | Yu Watanabe <watanabe.yu+github@gmail.com> | 2022-02-17 15:10:26 +0100 |
commit | 65022cd7abc64da553a037d2e918adddce34ceda (patch) | |
tree | 8ddeed47ad9ac00b60df7ca5cd716ac00690343a /src/udev/udev-event.c | |
parent | networkctl: show netdev kind (diff) | |
download | systemd-65022cd7abc64da553a037d2e918adddce34ceda.tar.xz systemd-65022cd7abc64da553a037d2e918adddce34ceda.zip |
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.
Diffstat (limited to 'src/udev/udev-event.c')
-rw-r--r-- | src/udev/udev-event.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/udev/udev-event.c b/src/udev/udev-event.c index aa7d229816..85f89fadd8 100644 --- a/src/udev/udev-event.c +++ b/src/udev/udev-event.c @@ -900,7 +900,7 @@ static int rename_netif(UdevEvent *event) { return 0; } - r = rtnl_get_link_info(&event->rtnl, ifindex, NULL, &flags, NULL, NULL); + r = rtnl_get_link_info(&event->rtnl, ifindex, NULL, &flags, NULL, NULL, NULL); if (r < 0) return log_device_warning_errno(dev, r, "Failed to get link flags: %m"); |