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/udev/net | |
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/udev/net')
-rw-r--r-- | src/udev/net/link-config.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/udev/net/link-config.c b/src/udev/net/link-config.c index 40b1d7f7bc..92d248fc6b 100644 --- a/src/udev/net/link-config.c +++ b/src/udev/net/link-config.c @@ -247,6 +247,7 @@ int link_config_get(link_config_ctx *ctx, struct udev_device *device, link_confi udev_device_get_sysattr_value(device, "address"), udev_device_get_property_value(device, "ID_PATH"), udev_device_get_driver(udev_device_get_parent(device)), + udev_device_get_property_value(device, "ID_NET_DRIVER"), udev_device_get_devtype(device), NULL)) { log_debug("Config file %s applies to device %s", |