netconfig: Don't clear IPv6 addresses on shutdown

Unlike IPv4, the IPv6 address are removed by the kernel.
This commit is contained in:
Tim Kourt 2019-10-09 15:43:33 -07:00 committed by Denis Kenzior
parent 2d02816efd
commit 8168b22233
1 changed files with 0 additions and 3 deletions

View File

@ -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);