Skip to content

Commit

Permalink
use elif
Browse files Browse the repository at this point in the history
  • Loading branch information
sreimers committed Dec 16, 2024
1 parent 1c530f7 commit 18ccbb5
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/net/net.c
Original file line number Diff line number Diff line change
Expand Up @@ -131,8 +131,7 @@ int net_if_apply(net_ifaddr_h *ifh, void *arg)
{
#ifdef LINUX
return net_netlink_addrs(ifh, arg);
#endif
#ifdef HAVE_GETIFADDRS
#elif HAVE_GETIFADDRS
return net_getifaddrs(ifh, arg);
#else
return net_if_list(ifh, arg);
Expand Down

0 comments on commit 18ccbb5

Please sign in to comment.