* [PATCH] netconfig: Don't clear IPv6 addresses on shutdown
@ 2019-10-09 22:43 Tim Kourt
2019-10-09 22:53 ` Denis Kenzior
0 siblings, 1 reply; 2+ messages in thread
From: Tim Kourt @ 2019-10-09 22:43 UTC (permalink / raw)
To: iwd
[-- Attachment #1: Type: text/plain, Size: 621 bytes --]
Unlike IPv4, the IPv6 address are removed by the kernel.
---
src/netconfig.c | 3 ---
1 file changed, 3 deletions(-)
diff --git a/src/netconfig.c b/src/netconfig.c
index c48e25b1..c4785fb6 100644
--- a/src/netconfig.c
+++ b/src/netconfig.c
@@ -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);
--
2.13.6
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2019-10-09 22:53 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-10-09 22:43 [PATCH] netconfig: Don't clear IPv6 addresses on shutdown Tim Kourt
2019-10-09 22:53 ` Denis Kenzior
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox