mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2025-12-31 23:00:11 +01:00
Before, _nm_setting_to_dbus() would return NULL instead of an empty
hash. This would be the case, if all properties are default.
When exporting connections via DBUS, we eventually call
_nm_setting_to_dbus() to convert the connection into a hash of hashes.
By _nm_setting_to_hash() converting empty hashes to NULL, the setting
is missing. Not returning empty hashes means that to_dbus() and
new_from_dbus() don't make a valid round-trip conversion.
Fix that by always returning a hash from _nm_setting_to_dbus()
https://bugzilla.gnome.org/show_bug.cgi?id=735255
See-also:
|
||
|---|---|---|
| .. | ||
| Makefile.am | ||
| test-compare.c | ||
| test-crypto.c | ||
| test-general.c | ||
| test-secrets.c | ||
| test-setting-8021x.c | ||
| test-setting-dcb.c | ||
| test-settings-defaults.c | ||