Project

General

Profile

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

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

View differences:

src/decode-ipv4.c
#endif /* DEBUG */
/* check what next decoder to invoke */
switch (IPV4_GET_IPPROTO(p)) {
switch (p->proto = IPV4_GET_IPPROTO(p)) {
case IPPROTO_TCP:
DecodeTCP(tv, dtv, p, pkt + IPV4_GET_HLEN(p),
IPV4_GET_IPLEN(p) - IPV4_GET_HLEN(p), pq);
(2-2/3)