Skip to content

Commit

Permalink
fix ifdef
Browse files Browse the repository at this point in the history
  • Loading branch information
sreimers committed Dec 12, 2024
1 parent be7b6a1 commit c7179de
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/net/net.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit c7179de

Please sign in to comment.