mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-01-05 20:50:19 +01:00
libnm-core: use _nm_connection_serialize_non_secret() in _nm_utils_hwaddr_cloned_data_synth()
This commit is contained in:
parent
f0fe7384e1
commit
15fe784180
1 changed files with 1 additions and 2 deletions
|
|
@ -4306,8 +4306,7 @@ _nm_utils_hwaddr_cloned_data_synth(const NMSettInfoSetting * sett_
|
|||
{
|
||||
gs_free char *addr = NULL;
|
||||
|
||||
if (flags != NM_CONNECTION_SERIALIZE_ALL
|
||||
&& !NM_FLAGS_HAS(flags, NM_CONNECTION_SERIALIZE_WITH_NON_SECRET))
|
||||
if (!_nm_connection_serialize_non_secret(flags))
|
||||
return NULL;
|
||||
|
||||
nm_assert(nm_streq0(sett_info->property_infos[property_idx].name, "assigned-mac-address"));
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue