mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2025-12-27 16:20:09 +01:00
libnm-glib: fix retrieval of DHCP4 and DHCP6 options (rh #611141)
Busted since 2008 apparently. Oops.
This commit is contained in:
parent
afca445d16
commit
ed1d84b9cc
2 changed files with 7 additions and 7 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue