summaryrefslogtreecommitdiffstats
path: root/src/udev/net/link-config.c
diff options
context:
space:
mode:
authorYu Watanabe <watanabe.yu+github@gmail.com>2019-12-15 14:46:19 +0100
committerYu Watanabe <watanabe.yu+github@gmail.com>2019-12-16 02:55:56 +0100
commit572b21d96cabd5860b0670e98440b6cb99a4b749 (patch)
treea006f9015fb3c0e2aa8c4780e5b7c8d6c2e7a584 /src/udev/net/link-config.c
parentudev: support AlternativeName= setting in .link file (diff)
downloadsystemd-572b21d96cabd5860b0670e98440b6cb99a4b749.tar.xz
systemd-572b21d96cabd5860b0670e98440b6cb99a4b749.zip
network: make Name= in [Match] support alternative names of interfaces
Diffstat (limited to '')
-rw-r--r--src/udev/net/link-config.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/udev/net/link-config.c b/src/udev/net/link-config.c
index 6879cfee07..8d89f1af10 100644
--- a/src/udev/net/link-config.c
+++ b/src/udev/net/link-config.c
@@ -244,7 +244,7 @@ int link_config_get(link_config_ctx *ctx, sd_device *device, link_config **ret)
LIST_FOREACH(links, link, ctx->links) {
if (net_match_config(link->match_mac, link->match_path, link->match_driver,
link->match_type, link->match_name, link->match_property, NULL, NULL, NULL,
- device, NULL, NULL, 0, NULL, NULL)) {
+ device, NULL, NULL, NULL, 0, NULL, NULL)) {
if (link->match_name && !strv_contains(link->match_name, "*")) {
unsigned name_assign_type = NET_NAME_UNKNOWN;