Commit 8053f427 authored by Dan Williams's avatar Dan Williams

libnm-glib: fix retrieval of DHCP4 and DHCP6 options (rh #611141)

Busted since 2008 apparently.  Oops.
parent 863a7570
......@@ -17,7 +17,7 @@
* Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
* Boston, MA 02110-1301 USA.
*
* Copyright (C) 2008 Red Hat, Inc.
* Copyright (C) 2008 - 2010 Red Hat, Inc.
* Copyright (C) 2008 Novell, Inc.
*/
......@@ -216,9 +216,9 @@ nm_dhcp4_config_get_options (NMDHCP4Config *config)
return priv->options;
if (!_nm_object_get_property (NM_OBJECT (config),
"org.freedesktop.DBus.Properties",
"Options",
&value))
NM_DBUS_INTERFACE_DHCP4_CONFIG,
"Options",
&value))
goto out;
demarshal_dhcp4_options (NM_OBJECT (config), NULL, &value, &priv->options);
......
......@@ -216,9 +216,9 @@ nm_dhcp6_config_get_options (NMDHCP6Config *config)
return priv->options;
if (!_nm_object_get_property (NM_OBJECT (config),
"org.freedesktop.DBus.Properties",
"Options",
&value))
NM_DBUS_INTERFACE_DHCP6_CONFIG,
"Options",
&value))
goto out;
demarshal_dhcp6_options (NM_OBJECT (config), NULL, &value, &priv->options);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment