mirror of
https://github.com/nmap/nmap.git
synced 2025-12-26 01:19:03 +00:00
Doug Hoyte version detection additions, etc.
This commit is contained in:
2
tcpip.cc
2
tcpip.cc
@@ -2226,7 +2226,7 @@ int sd;
|
||||
printf("Size of struct ifreq: %d\n", sizeof(struct ifreq));
|
||||
#endif
|
||||
|
||||
for(; ifr && ifr->ifr_name[0] && ((char *)ifr) < buf + ifc.ifc_len;
|
||||
for(; ifr && ifr->ifr_name[0] && ((u8 *)ifr) < buf + ifc.ifc_len;
|
||||
ifr = (struct ifreq *)(((char *)ifr) + len)) {
|
||||
#if TCPIP_DEBUGGING
|
||||
printf("ifr_name size = %d\n", sizeof(ifr->ifr_name));
|
||||
|
||||
Reference in New Issue
Block a user