Skip to content

Commit e5451b6

Browse files
committed
NetIO (BSD): remove unnecessary checks
Seems...
1 parent 9f314a2 commit e5451b6

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/detection/netio/netio_bsd.c

-1
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,6 @@ const char* ffNetIOGetIoCounters(FFlist* result, FFNetIOOptions* options)
3030

3131
struct sockaddr_dl* sdl = (struct sockaddr_dl*) (ifm + 1);
3232
assert(sdl->sdl_family == AF_LINK);
33-
if (sdl->sdl_type != IFT_ETHER && !(ifm->ifm_flags & IFF_LOOPBACK)) continue;
3433

3534
sdl->sdl_data[sdl->sdl_nlen] = 0;
3635

0 commit comments

Comments
 (0)