mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2025-12-29 17:20:11 +01:00
vpn: it is not a problem to flush IPv6 routes
Whether they are supported or not. We already remove all addressess.
This commit is contained in:
parent
a2462ed2f6
commit
f84b18d1d5
1 changed files with 1 additions and 2 deletions
|
|
@ -166,8 +166,7 @@ vpn_cleanup (NMVPNConnection *connection)
|
|||
|
||||
if (priv->ip_ifindex) {
|
||||
nm_system_iface_set_up (priv->ip_ifindex, FALSE, NULL);
|
||||
/* FIXME: use AF_UNSPEC here when we have IPv6 support */
|
||||
nm_system_iface_flush_routes (priv->ip_ifindex, AF_INET);
|
||||
nm_system_iface_flush_routes (priv->ip_ifindex, AF_UNSPEC);
|
||||
nm_system_iface_flush_addresses (priv->ip_ifindex, AF_UNSPEC);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue