[PATCH 01/14] netconfig: Reset {v4, v6}_configured to false on netconfig stop

Andrew Zaborowski <andrew.zaborowski at intel.com>
Newsgroups dev.linux.lists.ell
Message-ID <[email protected]>
---
 ell/netconfig.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/ell/netconfig.c b/ell/netconfig.c
index 2a1b3ed..5de5d74 100644
--- a/ell/netconfig.c
+++ b/ell/netconfig.c
@@ -1163,6 +1163,8 @@ LIB_EXPORT void l_netconfig_stop(struct l_netconfig *netconfig)
 	netconfig->v4_subnet_route = NULL;
 	netconfig->v4_default_route = NULL;
 	netconfig->v6_address = NULL;
+	netconfig->v4_configured = false;
+	netconfig->v6_configured = false;
 
 	l_dhcp_client_stop(netconfig->dhcp_client);
 	l_dhcp6_client_stop(netconfig->dhcp6_client);
-- 
2.34.1
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.