device: fix matching device-spec for DHCP plugin

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

Fixes: b9eb264efe
This commit is contained in:
Thomas Haller 2018-12-11 12:14:34 +01:00
parent b7429d0a95
commit 1bff602c46

View file

@ -15950,8 +15950,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: