mirror of
https://git.kernel.org/pub/scm/network/wireless/iwd.git
synced 2024-11-25 17:59:25 +01:00
netconfig: Don't clear IPv6 addresses on shutdown
Unlike IPv4, the IPv6 address are removed by the kernel.
This commit is contained in:
parent
2d02816efd
commit
8168b22233
@ -1111,9 +1111,6 @@ void netconfig_destroy(struct netconfig *netconfig)
|
||||
if (netconfig->rtm_protocol)
|
||||
netconfig_ipv4_select_and_uninstall(netconfig);
|
||||
|
||||
if (netconfig->rtm_v6_protocol)
|
||||
netconfig_ipv6_select_and_uninstall(netconfig);
|
||||
|
||||
if (netconfig->rtm_protocol || netconfig->rtm_v6_protocol)
|
||||
resolve_remove(netconfig->ifindex);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user