aboutsummaryrefslogtreecommitdiffstats
path: root/packet-ip.c
diff options
context:
space:
mode:
authorGerald Combs <gerald@wireshark.org>2002-06-09 01:03:19 +0000
committerGerald Combs <gerald@wireshark.org>2002-06-09 01:03:19 +0000
commitc5f400ed7709987a5574cbc93a971be8de2caeea (patch)
treedbd42b686e499f223e1334173fadcfea7deeb15a /packet-ip.c
parent2be8f3e875aa6f9f32837904e0f6252bf86c0298 (diff)
From John Wells: Fix the default offset adjustment in dissect_mip_extentions.
svn path=/trunk/; revision=5657
Diffstat (limited to 'packet-ip.c')
-rw-r--r--packet-ip.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/packet-ip.c b/packet-ip.c
index d79adffb46..fd656d982b 100644
--- a/packet-ip.c
+++ b/packet-ip.c
@@ -1,7 +1,7 @@
/* packet-ip.c
* Routines for IP and miscellaneous IP protocol packet disassembly
*
- * $Id: packet-ip.c,v 1.169 2002/06/07 10:11:39 guy Exp $
+ * $Id: packet-ip.c,v 1.170 2002/06/09 01:03:17 gerald Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@ethereal.com>
@@ -1213,7 +1213,7 @@ dissect_mip_extensions(tvbuff_t *tvb, size_t offset, proto_tree *tree)
default:
g_warning("Unknown type(%u)! I hope the length is right (%u)",
type, length);
- offset += length;
+ offset += length + 2;
break;
} /* switch type */
} /* end while */