network/link: Match - filter on kernel cmdline, host and virt

This commit is contained in:
Tom Gundersen
2014-02-20 21:50:34 +01:00
parent b77c08e06b
commit 2cc412b593
8 changed files with 121 additions and 42 deletions
+2 -1
View File
@@ -175,7 +175,8 @@ int network_get(Manager *manager, struct udev_device *device, Network **ret) {
LIST_FOREACH(networks, network, manager->networks) {
if (net_match_config(network->match_mac, network->match_path,
network->match_driver, network->match_type,
network->match_name,
network->match_name, network->match_host,
network->match_virt, network->match_kernel,
udev_device_get_sysattr_value(device, "address"),
udev_device_get_property_value(device, "ID_PATH"),
udev_device_get_driver(udev_device_get_parent(device)),