diff options
author | Thomas Haller <thaller@redhat.com> | 2021-03-23 17:48:43 +0100 |
---|---|---|
committer | Thomas Haller <thaller@redhat.com> | 2021-03-23 17:56:46 +0100 |
commit | 5da8c073efd67f12292c1c5c67ada64b9c9f5a6c (patch) | |
tree | a71ddb4d70aedcd08a022cc4ded891213e717618 | |
parent | 87f2c7bc6c15cb198b902cb41a0dab6f2560fd6b (diff) | |
download | NetworkManager-5da8c073efd67f12292c1c5c67ada64b9c9f5a6c.tar.gz |
core: avoid logging pointer value in nm_device_set_ip_config()
-rw-r--r-- | src/core/devices/nm-device.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/devices/nm-device.c b/src/core/devices/nm-device.c index 9d44757c08..421a219023 100644 --- a/src/core/devices/nm-device.c +++ b/src/core/devices/nm-device.c @@ -13496,10 +13496,10 @@ nm_device_set_ip_config(NMDevice * self, nm_assert(IS_IPv4 || !ip4_dev_route_blacklist); _LOGD(LOGD_IPX(IS_IPv4), - "ip%c-config: update (commit=%d, new-config=%p)", + "ip%c-config: update (commit=%d, new-config=" NM_HASH_OBFUSCATE_PTR_FMT")", nm_utils_addr_family_to_char(addr_family), commit, - new_config); + NM_HASH_OBFUSCATE_PTR(new_config)); /* Always commit to nm-platform to update lifetimes */ if (commit && new_config) { |