mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-02-27 05:50:32 +01:00
loggging 10
Signed-off-by: Wen Liang <liangwen12year@gmail.com>
This commit is contained in:
parent
3afc514f32
commit
f585128d68
1 changed files with 2 additions and 3 deletions
|
|
@ -330,17 +330,16 @@ ip6_remove_device_prefix_delegations(NMPolicy *self, NMDevice *device)
|
|||
nm_device_get_applied_connection(device),
|
||||
device,
|
||||
subnet);
|
||||
if (!g_hash_table_remove(delegation->subnets, subnet)) {
|
||||
if (g_hash_table_remove(delegation->subnets, GINT_TO_POINTER(ifindex))) {
|
||||
_LOGW(LOGD_DEVICE,
|
||||
"---- %s:%d : down link subnet removed, connection on device %p, the "
|
||||
"device "
|
||||
"is %p, the subnet is %p faillllllll",
|
||||
"is %p, the subnet is %p successssssss",
|
||||
__func__,
|
||||
__LINE__,
|
||||
nm_device_get_applied_connection(device),
|
||||
device,
|
||||
subnet);
|
||||
subnet->preferred = 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue