diff options
author | Tom Gundersen <teg@jklm.no> | 2014-02-21 22:29:25 +0100 |
---|---|---|
committer | Tom Gundersen <teg@jklm.no> | 2014-02-21 22:59:29 +0100 |
commit | bf175aafd20c9ef974709ef12c5acf836121af33 (patch) | |
tree | 47262edca73fc2ea2107185eb1a45066c426ca61 /src/network/networkd-netdev.c | |
parent | 95f41b729855bdc9788bec87ab25e54e25ca8a5f (diff) |
net-util: match on the driver as exposed by ethtool if DRIVER not set
Also fix a copy-paste error that broke matching on interface name.
Diffstat (limited to 'src/network/networkd-netdev.c')
-rw-r--r-- | src/network/networkd-netdev.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/network/networkd-netdev.c b/src/network/networkd-netdev.c index c3bda6da84..05f21fa874 100644 --- a/src/network/networkd-netdev.c +++ b/src/network/networkd-netdev.c @@ -366,7 +366,7 @@ static int netdev_load_one(Manager *manager, const char *filename) { if (net_match_config(NULL, NULL, NULL, NULL, NULL, netdev->match_host, netdev->match_virt, netdev->match_kernel, netdev->match_arch, - NULL, NULL, NULL, NULL, NULL) <= 0) + NULL, NULL, NULL, NULL, NULL, NULL) <= 0) return 0; r = hashmap_put(netdev->manager->netdevs, netdev->name, netdev); |