1
0
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:
fyodor
2005-10-10 22:50:45 +00:00
parent 56bb813f12
commit ba5fe2eb20
7 changed files with 112 additions and 45 deletions

View File

@@ -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));