mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2025-12-29 06:50:10 +01:00
ip6: make sure static routes are flushed for manual configs too
Manual configs don't require an IP6Manager object and thus static routes wouldn't get flushed on device deactivation.
This commit is contained in:
parent
b0e6033ba9
commit
b687872f68
1 changed files with 1 additions and 1 deletions
|
|
@ -2834,7 +2834,7 @@ nm_device_deactivate (NMDeviceInterface *device, NMDeviceStateReason reason)
|
|||
nm_device_get_iface (self), reason_to_string (reason), reason);
|
||||
|
||||
/* Save whether or not we tried IPv6 for later */
|
||||
if (NM_DEVICE_GET_PRIVATE (self)->ip6_manager)
|
||||
if (priv->ip6_manager || priv->ip6_config)
|
||||
tried_ipv6 = TRUE;
|
||||
|
||||
/* Break the activation chain */
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue