diff options
author | Thomas Haller <thaller@redhat.com> | 2020-02-20 15:06:47 +0100 |
---|---|---|
committer | Thomas Haller <thaller@redhat.com> | 2020-02-21 15:59:44 +0100 |
commit | 121d44635423f91b8184e1ccd3fb6b1f628c6abf (patch) | |
tree | 4f27b3a66c2f381843187bf0cb0e1d1d7a7b7f5a /src/nm-manager.c | |
parent | 26f208aec30cf1c9add0b3d37dc8781b291d87e1 (diff) | |
download | NetworkManager-121d44635423f91b8184e1ccd3fb6b1f628c6abf.tar.gz |
device: merge nm_device_get_dhcp[46]_config() to nm_device_get_dhcp_config()
Diffstat (limited to 'src/nm-manager.c')
-rw-r--r-- | src/nm-manager.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nm-manager.c b/src/nm-manager.c index b594b899d6..75bee452de 100644 --- a/src/nm-manager.c +++ b/src/nm-manager.c @@ -6534,7 +6534,7 @@ nm_manager_write_device_state (NMManager *self, NMDevice *device) route_metric_default_effective = _device_route_metric_get (self, ifindex, NM_DEVICE_TYPE_UNKNOWN, TRUE, &route_metric_default_aspired); - dhcp_config = nm_device_get_dhcp4_config (device); + dhcp_config = nm_device_get_dhcp_config (device, AF_INET); if (dhcp_config) { root_path = nm_dhcp_config_get_option (dhcp_config, "root_path"); next_server = nm_dhcp_config_get_option (dhcp_config, "next_server"); |