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