mmaraya / port-mirroring

OpenWrt package for copying network packets without iptables
BSD 2-Clause "Simplified" License
102 stars 32 forks source link

Incorrect variable type for nlmsghdr->nlmsg_seq #32

Closed mmaraya closed 8 years ago

mmaraya commented 8 years ago

https://github.com/mmaraya/port-mirroring/blob/8016cd336e247ae0041cebd90f170e79c4b04ef1/port-mirroring.c#L416

port-mirroring.c:416:32: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
     } while ((nlHdr->nlmsg_seq != seqNum) || (nlHdr->nlmsg_pid != pId));
                                ^