Skip to content

Commit

Permalink
macOS patch
Browse files Browse the repository at this point in the history
  • Loading branch information
lucaderi committed Feb 22, 2025
1 parent 8c71bd7 commit ea6d266
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Utils.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4522,7 +4522,7 @@ char *Utils::ntop_lookupdev(char *ifname_out, int ifname_size) {

int Utils::get_ifindex(const char *ifname) {
int ifindex = -1;
#if not defined(WIN32)
#if not defined(WIN32) and defined(SIOCGIFINDEX)
int sockfd;
struct ifreq ifr;

Expand Down

0 comments on commit ea6d266

Please sign in to comment.