* [PATCH 01/12] net: Rename l_net_subnet_matches to l_net_prefix_matches
@ 2022-04-21 15:45 Andrew Zaborowski
0 siblings, 0 replies; only message in thread
From: Andrew Zaborowski @ 2022-04-21 15:45 UTC (permalink / raw)
To: ell
[-- Attachment #1: Type: text/plain, Size: 608 bytes --]
---
ell/net.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/ell/net.h b/ell/net.h
index eaaf14c..0521d75 100644
--- a/ell/net.h
+++ b/ell/net.h
@@ -41,7 +41,7 @@ bool l_net_hostname_is_localhost(const char *hostname);
bool l_net_get_address(int ifindex, struct in_addr *out);
bool l_net_get_link_local_address(int ifindex, struct in6_addr *out);
-static inline bool l_net_subnet_matches(const void *a, const void *b,
+static inline bool l_net_prefix_matches(const void *a, const void *b,
uint8_t prefix_len)
{
uint8_t bytes = prefix_len / 8;
--
2.32.0
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2022-04-21 15:45 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-04-21 15:45 [PATCH 01/12] net: Rename l_net_subnet_matches to l_net_prefix_matches Andrew Zaborowski
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.