From c7179de14419505bc45476678283d11e81b7b790 Mon Sep 17 00:00:00 2001 From: Sebastian Reimers Date: Thu, 12 Dec 2024 13:45:53 +0100 Subject: [PATCH] fix ifdef --- src/net/net.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/net/net.c b/src/net/net.c index a223a7054..3838199c1 100644 --- a/src/net/net.c +++ b/src/net/net.c @@ -132,7 +132,7 @@ int net_if_apply(net_ifaddr_h *ifh, void *arg) #ifdef LINUX return net_netlink_addrs(ifh, arg); #endif -#if HAVE_GETIFADDRS +#ifdef HAVE_GETIFADDRS return net_getifaddrs(ifh, arg); #else return net_if_list(ifh, arg);