mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-06-19 11:18:28 +02:00
ip6: save autoconf config when starting DHCP
Otherwise it just gets lost, and we want it later to combine with the DHCP config to get the final config that's applied to the interface.
This commit is contained in:
parent
314d0968e1
commit
56513f5289
1 changed files with 2 additions and 1 deletions
|
|
@ -1790,7 +1790,8 @@ ip6_addrconf_complete (NMIP6Manager *ip6_manager,
|
|||
nm_device_activate_schedule_ip6_config_result (self, priv->ac_ip6_config);
|
||||
break;
|
||||
case NM_ACT_STAGE_RETURN_POSTPONE:
|
||||
/* Success; wait for DHCPv6 to complete */
|
||||
/* Cache acquired autoconf config and wait for DHCPv6 to complete */
|
||||
priv->ac_ip6_config = nm_ip6_manager_get_ip6_config (ip6_manager, ifindex);
|
||||
break;
|
||||
default:
|
||||
nm_device_state_changed (self, NM_DEVICE_STATE_FAILED, reason);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue