mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-01-11 23:50:26 +01:00
ip6: suppress merge_ip6_configs() warning
NetworkManager[815]: merge_ip6_configs: assertion `src != NULL' failed Calling ip6_config_merge_and_apply() with a NULL src_config is fine since that's what happens during RA or DHCP lease changes. Reported by Johannes Sjölund
This commit is contained in:
parent
fc7941032f
commit
7ee3abe19b
1 changed files with 3 additions and 1 deletions
|
|
@ -1620,7 +1620,9 @@ ip6_config_merge_and_apply (NMDevice *self,
|
|||
composite = nm_ip6_config_new ();
|
||||
g_assert (composite);
|
||||
|
||||
merge_ip6_configs (composite, src_config);
|
||||
/* Merge in the given config first, if any */
|
||||
if (src_config)
|
||||
merge_ip6_configs (composite, src_config);
|
||||
|
||||
/* Merge RA and DHCPv6 configs into the composite config */
|
||||
if (priv->ac_ip6_config && (src_config != priv->ac_ip6_config))
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue