components/nmap/patches/tcpip.cc.patch
branchs11-update
changeset 2501 f20006f42637
parent 2500 1d59d8c2a113
child 2502 a97aabb9f4ea
equal deleted inserted replaced
2500:1d59d8c2a113 2501:f20006f42637
     1 --- nmap-5.51/tcpip.cc.orig	2012-07-12 12:01:16.192754248 -0700
       
     2 +++ nmap-5.51/tcpip.cc	2012-07-12 12:02:28.509427779 -0700
       
     3 @@ -1319,6 +1319,11 @@
       
     4      offset = 16;
       
     5      break;
       
     6  #endif
       
     7 +#ifdef DLT_IPNET
       
     8 +  case DLT_IPNET:
       
     9 +    offset = 24;
       
    10 +    break;
       
    11 +#endif
       
    12    default:
       
    13      p = (char *) pcap_next(pd, &head);
       
    14      if (head.caplen == 0) {