dhcp: set @was_active on ipv6 when assuming a device with dhcp ipv6 conf

Due to a typo the flag was set on ipv4

Fixes: ddfeed4530
This commit is contained in:
Francesco Giudici 2017-10-06 10:28:15 +02:00
parent 5c2ee8b26e
commit 2776606aa3

View file

@ -6903,7 +6903,7 @@ dhcp6_start_with_link_ready (NMDevice *self, NMConnection *connection)
}
if (nm_device_sys_iface_state_is_external_or_assume (self))
priv->dhcp4.was_active = TRUE;
priv->dhcp6.was_active = TRUE;
return !!priv->dhcp6.client;
}