Project

General

Profile

Bug #403 » 0002-bug-403-fix-setting-ip-proto-for-ipv6-packets.patch

Anoop Saldanha, 01/26/2012 11:53 AM

View differences:

src/decode-ipv6.c
#endif /* DEBUG */
/* now process the Ext headers and/or the L4 Layer */
switch(IPV6_GET_NH(p)) {
switch(p->proto = IPV6_GET_NH(p)) {
case IPPROTO_TCP:
IPV6_SET_L4PROTO (p, IPPROTO_TCP);
return DecodeTCP(tv, dtv, p, pkt + IPV6_HEADER_LEN, IPV6_GET_PLEN(p), pq);
(3-3/3)