mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-01-09 15:50:26 +01:00
core: emit notify signals for addresses/routes in nm_ipX_config_replace
Fixes:22edeb5b69Fixes:935411e5c0Fixes:cfd1851c00
This commit is contained in:
parent
b2d21817ad
commit
24b8429ee3
2 changed files with 4 additions and 0 deletions
|
|
@ -1490,6 +1490,7 @@ nm_ip4_config_replace (NMIP4Config *dst, const NMIP4Config *src, gboolean *relev
|
|||
NULL);
|
||||
}
|
||||
nm_dedup_multi_index_dirty_remove_idx (dst_priv->multi_idx, &dst_priv->idx_ip4_addresses, FALSE);
|
||||
_notify_addresses (dst);
|
||||
}
|
||||
|
||||
/* routes */
|
||||
|
|
@ -1533,6 +1534,7 @@ nm_ip4_config_replace (NMIP4Config *dst, const NMIP4Config *src, gboolean *relev
|
|||
NULL);
|
||||
}
|
||||
nm_dedup_multi_index_dirty_remove_idx (dst_priv->multi_idx, &dst_priv->idx_ip4_routes, FALSE);
|
||||
_notify_routes (dst);
|
||||
}
|
||||
|
||||
/* nameservers */
|
||||
|
|
|
|||
|
|
@ -1269,6 +1269,7 @@ nm_ip6_config_replace (NMIP6Config *dst, const NMIP6Config *src, gboolean *relev
|
|||
NULL);
|
||||
}
|
||||
nm_dedup_multi_index_dirty_remove_idx (dst_priv->multi_idx, &dst_priv->idx_ip6_addresses, FALSE);
|
||||
_notify_addresses (dst);
|
||||
}
|
||||
|
||||
/* routes */
|
||||
|
|
@ -1312,6 +1313,7 @@ nm_ip6_config_replace (NMIP6Config *dst, const NMIP6Config *src, gboolean *relev
|
|||
NULL);
|
||||
}
|
||||
nm_dedup_multi_index_dirty_remove_idx (dst_priv->multi_idx, &dst_priv->idx_ip6_routes, FALSE);
|
||||
_notify_routes (dst);
|
||||
}
|
||||
|
||||
/* nameservers */
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue