From 89ff1c0d71ee0620f1a6d587db53531f7ecdcdbe Mon Sep 17 00:00:00 2001 From: Wen Liang Date: Wed, 28 Feb 2024 11:38:04 -0500 Subject: [PATCH] ipv6 prefix delegation fix logging --- src/core/devices/nm-device.c | 2 +- src/core/nm-policy.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/core/devices/nm-device.c b/src/core/devices/nm-device.c index 34022efbde..7fd51347f2 100644 --- a/src/core/devices/nm-device.c +++ b/src/core/devices/nm-device.c @@ -15971,7 +15971,7 @@ nm_device_add_pending_action(NMDevice *self, const char *action, gboolean assert gssize idx; g_return_val_if_fail(action, FALSE); - + _LOGW(LOGD_DEVICE, "---- %s:%d : connection on device %p", __func__, __LINE__, nm_device_get_applied_connection(self)); idx = nm_strv_find_binary_search(priv->pending_actions.arr, priv->pending_actions.len, action); if (idx >= 0) { if (assert_not_yet_pending) { diff --git a/src/core/nm-policy.c b/src/core/nm-policy.c index feea97b114..b1a995121a 100644 --- a/src/core/nm-policy.c +++ b/src/core/nm-policy.c @@ -154,6 +154,7 @@ _clear_ip6_subnet(gpointer key, gpointer value, gpointer user_data) NMPlatformIP6Address *subnet = value; NMDevice *device = nm_manager_get_device_by_ifindex(NM_MANAGER_GET, GPOINTER_TO_INT(key)); + _LOGW(LOGD_DEVICE, "---- %s:%d : connection on device %p", __func__, __LINE__, nm_device_get_applied_connection(device)); if (device) { /* We can not remove a subnet we already started announcing. * Just un-prefer it. */ @@ -168,7 +169,6 @@ clear_ip6_prefix_delegation(gpointer data) { IP6PrefixDelegation *delegation = data; char sbuf[NM_INET_ADDRSTRLEN]; - _LOGD(LOGD_IP6, "ipv6-pd: undelegating prefix %s/%d", nm_inet6_ntop(&delegation->prefix.address, sbuf),