Project

General

Profile

Feature #514 » 0001-decode-decode-IP6-in-IP6.patch

Eric Leblond, 08/08/2012 09:24 AM

View differences:

src/decode-ipv6.c
plen -= hdrextlen;
break;
}
case IPPROTO_NONE:
IPV6_SET_L4PROTO(p,nh);
SCReturn;
......
case IPPROTO_SCTP:
IPV6_SET_L4PROTO (p, IPPROTO_SCTP);
return DecodeSCTP(tv, dtv, p, pkt + IPV6_HEADER_LEN, IPV6_GET_PLEN(p), pq);
case IPPROTO_IPV6:
return DecodeIPV6(tv, dtv, p, pkt + IPV6_HEADER_LEN, IPV6_GET_PLEN(p), pq);
case IPPROTO_FRAGMENT:
case IPPROTO_HOPOPTS:
case IPPROTO_ROUTING:
(2-2/2)