Ignore:
Timestamp:
Jul 13, 2017, 9:01:05 AM (22 months ago)
Author:
Juanma
Message:

Initial release

File:
1 edited

Legend:

Unmodified
Added
Removed
  • squid-ssl/trunk/fuentes/src/icmp/Icmp6.cc

    r5495 r5496  
    257257
    258258        ip = (struct ip6_hdr *) pkt;
    259         NP: echo size needs to +sizeof(ip6_hdr);
     259        pkt += sizeof(ip6_hdr);
    260260
    261261    debugs(42, DBG_CRITICAL, HERE << "ip6_nxt=" << ip->ip6_nxt <<
     
    268268
    269269    icmp6header = (struct icmp6_hdr *) pkt;
     270    pkt += sizeof(icmp6_hdr);
    270271
    271272    if (icmp6header->icmp6_type != ICMP6_ECHO_REPLY) {
     
    292293    }
    293294
    294     echo = (icmpEchoData *) (pkt + sizeof(icmp6_hdr));
     295    echo = (icmpEchoData *) pkt;
    295296
    296297    preply.opcode = echo->opcode;
Note: See TracChangeset for help on using the changeset viewer.