mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-05-07 01:29:52 +02:00
logging 5
This commit is contained in:
parent
c7a0c7093a
commit
2c6f9cdca0
1 changed files with 2 additions and 2 deletions
|
|
@ -154,7 +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));
|
||||
_LOGW(LOGD_DEVICE, "---- %s:%d : connection on device %p, the device is %p", __func__, __LINE__, nm_device_get_applied_connection(device), device);
|
||||
if (device) {
|
||||
/* We can not remove a subnet we already started announcing.
|
||||
* Just un-prefer it. */
|
||||
|
|
@ -299,7 +299,7 @@ ip6_remove_device_prefix_delegations(NMPolicy *self, NMDevice *device)
|
|||
for (i = 0; i < priv->ip6_prefix_delegations->len; i++) {
|
||||
delegation = &nm_g_array_index(priv->ip6_prefix_delegations, IP6PrefixDelegation, i);
|
||||
if (delegation->device == device) {
|
||||
_LOGW(LOGD_DEVICE, "---- %s:%d : connection on deviceee %p", __func__, __LINE__, nm_device_get_applied_connection(device));
|
||||
_LOGW(LOGD_DEVICE, "---- %s:%d : connection on deviceee %p, the device is %p", __func__, __LINE__, nm_device_get_applied_connection(device), device);
|
||||
g_array_remove_index_fast(priv->ip6_prefix_delegations, i);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue