Skip to content

Commit 5342430

Browse files
yelnineiCarterLi
authored andcommitted
1 parent d553bc4 commit 5342430

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/detection/localip/localip_linux.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -394,12 +394,12 @@ const char* ffDetectLocalIps(const FFLocalIpOptions* options, FFlist* results)
394394
FF_DEBUG("Added IPv6 entry for interface %s", ifa->ifa_name);
395395
}
396396
break;
397-
#if __FreeBSD__ || __OpenBSD__ || __APPLE__ || __NetBSD__ || __HAIKU__ || __GNU__
397+
#if __FreeBSD__ || __OpenBSD__ || __APPLE__ || __NetBSD__ || __HAIKU__
398398
case AF_LINK:
399399
adapter->mac = ifa;
400400
FF_DEBUG("Updated MAC entry for interface %s", ifa->ifa_name);
401401
break;
402-
#elif !__sun
402+
#elif !__sun && !__GNU__
403403
case AF_PACKET:
404404
adapter->mac = ifa;
405405
FF_DEBUG("Updated MAC entry for interface %s", ifa->ifa_name);

0 commit comments

Comments
 (0)