From e62ee5cf8bf9d2b187679d7573e7fa609c133951 Mon Sep 17 00:00:00 2001 From: Guy Harris Date: Thu, 13 Feb 2003 22:23:20 +0000 Subject: From Santeri Paavolainen: fix for the following problems: - BRR packets were incorrectly labeled as BE packets - Pad1 options had their length handled incorrectly svn path=/trunk/; revision=7139 --- AUTHORS | 1 + packet-mip6.c | 6 +++--- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/AUTHORS b/AUTHORS index fc11dd9645..5af8ec9f12 100644 --- a/AUTHORS +++ b/AUTHORS @@ -511,6 +511,7 @@ Santeri Paavolainen { "Capture->Stop" menu bar item Improved capture statistics box Make doc/Makefile.am work in POSIXLY_CORRECT environment + Mobile IPv6 fixes } Ulrich Kiermayr { diff --git a/packet-mip6.c b/packet-mip6.c index e331dc936b..a30110d294 100644 --- a/packet-mip6.c +++ b/packet-mip6.c @@ -1,6 +1,6 @@ /* packet-mip6.c * - * $Id: packet-mip6.c,v 1.1 2003/02/04 20:16:57 guy Exp $ + * $Id: packet-mip6.c,v 1.2 2003/02/13 22:23:20 guy Exp $ * * Routines for Mobile IPv6 dissection (draft-ietf-mobileip-ipv6-20.txt) * Copyright 2003 Oy L M Ericsson Ab @@ -89,7 +89,7 @@ dissect_mip6_brr(tvbuff_t *tvb, proto_tree *mip6_tree, packet_info *pinfo) proto_item *ti; if (check_col(pinfo->cinfo, COL_INFO)) - col_set_str(pinfo->cinfo, COL_INFO, "Binding Error"); + col_set_str(pinfo->cinfo, COL_INFO, "Binding Refresh Request"); if (mip6_tree) { ti = proto_tree_add_text(mip6_tree, tvb, MIP6_DATA_OFF, @@ -310,7 +310,7 @@ dissect_mip6_opt_pad1(tvbuff_t *tvb, proto_tree *opts_tree, int offset) { int len; - len = (tvb_get_guint8(tvb, offset + 1)) + 2; + len = 1; proto_tree_add_text(opts_tree, tvb, offset, len, "Pad1"); return offset+len; -- cgit v1.2.3