From edbb03e95a3c31bf719d5c6c46eec14d0bcb9c8f Mon Sep 17 00:00:00 2001 From: Tom Gundersen Date: Fri, 21 Feb 2014 14:51:19 +0100 Subject: .network/.netdev/.link: allow to match on architecture --- src/udev/net/link-config.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/udev/net/link-config.c') diff --git a/src/udev/net/link-config.c b/src/udev/net/link-config.c index 15bea4f4ca..e8389c9be0 100644 --- a/src/udev/net/link-config.c +++ b/src/udev/net/link-config.c @@ -240,9 +240,9 @@ int link_config_get(link_config_ctx *ctx, struct udev_device *device, link_confi LIST_FOREACH(links, link, ctx->links) { - if (net_match_config(link->match_mac, link->match_path, - link->match_driver, link->match_type, NULL, - link->match_host, link->match_virt, link->match_kernel, + if (net_match_config(link->match_mac, link->match_path, link->match_driver, + link->match_type, NULL, link->match_host, + link->match_virt, link->match_kernel, link->match_arch, udev_device_get_sysattr_value(device, "address"), udev_device_get_property_value(device, "ID_PATH"), udev_device_get_driver(udev_device_get_parent(device)), -- cgit v1.2.3-54-g00ecf