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);