summaryrefslogtreecommitdiff
path: root/src/network/networkd-netdev.c
diff options
context:
space:
mode:
authorTom Gundersen <teg@jklm.no>2014-02-21 14:51:19 +0100
committerTom Gundersen <teg@jklm.no>2014-02-21 16:05:02 +0100
commitedbb03e95a3c31bf719d5c6c46eec14d0bcb9c8f (patch)
tree5f9756ff846f5ed38cea48e5f5060376ed11b769 /src/network/networkd-netdev.c
parent7a243b22041595a0c7e0dffb3ef5e2158dde933f (diff)
.network/.netdev/.link: allow to match on architecture
Diffstat (limited to 'src/network/networkd-netdev.c')
-rw-r--r--src/network/networkd-netdev.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/network/networkd-netdev.c b/src/network/networkd-netdev.c
index 773163d76c..c3bda6da84 100644
--- a/src/network/networkd-netdev.c
+++ b/src/network/networkd-netdev.c
@@ -364,9 +364,9 @@ static int netdev_load_one(Manager *manager, const char *filename) {
return log_oom();
if (net_match_config(NULL, NULL, NULL, NULL, NULL,
- netdev->condition_host, netdev->condition_virt,
- netdev->condition_kernel, NULL, NULL, NULL,
- NULL, NULL) <= 0)
+ netdev->match_host, netdev->match_virt,
+ netdev->match_kernel, netdev->match_arch,
+ NULL, NULL, NULL, NULL, NULL) <= 0)
return 0;
r = hashmap_put(netdev->manager->netdevs, netdev->name, netdev);