File NetworkManager-RFC8106.patch of Package NetworkManager.24287

Index: NetworkManager-1.22.10/src/devices/nm-device.c
===================================================================
--- NetworkManager-1.22.10.orig/src/devices/nm-device.c
+++ NetworkManager-1.22.10/src/devices/nm-device.c
@@ -7681,7 +7681,7 @@ ip_config_merge_and_apply (NMDevice *sel
 	}
 
 	if (!IS_IPv4) {
-		config = applied_config_get_current (&priv->ac_ip6_config);
+		config = applied_config_get_current (&priv->dhcp6.ip6_config);
 		if (config) {
 			nm_ip6_config_merge (NM_IP6_CONFIG (composite), NM_IP6_CONFIG (config),
 			                       (ignore_auto_routes ? NM_IP_CONFIG_MERGE_NO_ROUTES : 0)
@@ -7692,7 +7692,7 @@ ip_config_merge_and_apply (NMDevice *sel
 	}
 
 	if (!IS_IPv4) {
-		config = applied_config_get_current (&priv->dhcp6.ip6_config);
+		config = applied_config_get_current (&priv->ac_ip6_config);
 		if (config) {
 			nm_ip6_config_merge (NM_IP6_CONFIG (composite), NM_IP6_CONFIG (config),
 			                       (ignore_auto_routes ? NM_IP_CONFIG_MERGE_NO_ROUTES : 0)
openSUSE Build Service is sponsored by