Commit 5be69ba7 authored by Beniamino Galvani's avatar Beniamino Galvani

device: reset cached route tables when starting new activation

The values cached in the device may be stale when we start a new
activation because in a disconnected state we might have called
ip_config_merge_and_apply() which cached the main table value.
parent a4c14895
Pipeline #41834 canceled with stages
......@@ -6456,6 +6456,9 @@ activate_stage1_device_prepare (NMDevice *self)
NMDevicePrivate *priv = NM_DEVICE_GET_PRIVATE (self);
priv->v4_route_table_initialized = FALSE;
priv->v6_route_table_initialized = FALSE;
_set_ip_state (self, AF_INET, NM_DEVICE_IP_STATE_NONE);
_set_ip_state (self, AF_INET6, NM_DEVICE_IP_STATE_NONE);
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment