device: fix matching device-spec for DHCP plugin

https://bugzilla.redhat.com/show_bug.cgi?id=1658057

Fixes: b9eb264efe
(cherry picked from commit 1bff602c46)
This commit is contained in:
Thomas Haller 2018-12-11 12:14:34 +01:00
parent d1e98e334d
commit 51bd7dc4aa

View file

@ -15778,8 +15778,8 @@ nm_device_spec_match_list_full (NMDevice *self, const GSList *specs, int no_matc
nm_device_get_driver (self),
nm_device_get_driver_version (self),
nm_device_get_permanent_hw_address (self),
nm_dhcp_manager_get_config (nm_dhcp_manager_get ()),
klass->get_s390_subchannels ? klass->get_s390_subchannels (self) : NULL);
klass->get_s390_subchannels ? klass->get_s390_subchannels (self) : NULL,
nm_dhcp_manager_get_config (nm_dhcp_manager_get ()));
switch (m) {
case NM_MATCH_SPEC_MATCH: