Wireless Daemon for Linux
 help / color / mirror / Atom feed
* [PATCH v2 01/14] netconfig: Rename netconfig destructor
@ 2019-09-28  0:12 Tim Kourt
  2019-09-28  0:12 ` [PATCH v2 02/14] netconfig: Change public API Tim Kourt
                   ` (12 more replies)
  0 siblings, 13 replies; 14+ messages in thread
From: Tim Kourt @ 2019-09-28  0:12 UTC (permalink / raw)
  To: iwd

[-- Attachment #1: Type: text/plain, Size: 971 bytes --]

The old name will be repurposed for the API.
---
 src/netconfig.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/netconfig.c b/src/netconfig.c
index fea322cd..25ac014a 100644
--- a/src/netconfig.c
+++ b/src/netconfig.c
@@ -83,7 +83,7 @@ static void netconfig_ifaddr_destroy(void *data)
 	l_free(ifaddr);
 }
 
-static void netconfig_destroy(void *data)
+static void netconfig_free(void *data)
 {
 	struct netconfig *netconfig = data;
 
@@ -750,7 +750,7 @@ bool netconfig_ifindex_remove(uint32_t ifindex)
 		resolve_remove(netconfig->ifindex);
 	}
 
-	netconfig_destroy(netconfig);
+	netconfig_free(netconfig);
 
 	return true;
 }
@@ -818,7 +818,7 @@ static void netconfig_exit(void)
 	l_netlink_destroy(rtnl);
 	rtnl = NULL;
 
-	l_queue_destroy(netconfig_list, netconfig_destroy);
+	l_queue_destroy(netconfig_list, netconfig_free);
 }
 
 IWD_MODULE(netconfig, netconfig_init, netconfig_exit)
-- 
2.13.6

^ permalink raw reply related	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2019-09-28  0:12 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-09-28  0:12 [PATCH v2 01/14] netconfig: Rename netconfig destructor Tim Kourt
2019-09-28  0:12 ` [PATCH v2 02/14] netconfig: Change public API Tim Kourt
2019-09-28  0:12 ` [PATCH v2 03/14] netconfig: Decouple from station state Tim Kourt
2019-09-28  0:12 ` [PATCH v2 04/14] station: netconfig devices based on " Tim Kourt
2019-09-28  0:12 ` [PATCH v2 05/14] netconfig: Switch to internal active network settings Tim Kourt
2019-09-28  0:12 ` [PATCH v2 06/14] rtnlutil: Add parser for IPv6 RTNL packet Tim Kourt
2019-09-28  0:12 ` [PATCH v2 07/14] netconfig: Subscribe for IPv6 address changes Tim Kourt
2019-09-28  0:12 ` [PATCH v2 08/14] rtnlutil: Add IPv6 address dump Tim Kourt
2019-09-28  0:12 ` [PATCH v2 09/14] netconfig: Request all known IPv6 addresses Tim Kourt
2019-09-28  0:12 ` [PATCH v2 10/14] rtnlutil: Add IPv6 address change helpers Tim Kourt
2019-09-28  0:12 ` [PATCH v2 11/14] netconfig: Add IPv6 static address installation/removal Tim Kourt
2019-09-28  0:12 ` [PATCH v2 12/14] rtnlutil: Add IPv6 default route helper Tim Kourt
2019-09-28  0:12 ` [PATCH v2 13/14] netconfig: Install IPv6 default route Tim Kourt
2019-09-28  0:12 ` [PATCH v2 14/14] netconfig: Install IPv6 DNS Tim Kourt

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox