diff options
author | Guy Harris <guy@alum.mit.edu> | 2003-02-13 22:23:20 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2003-02-13 22:23:20 +0000 |
commit | e62ee5cf8bf9d2b187679d7573e7fa609c133951 (patch) | |
tree | 4fae00eade997e6c29cffe2808861c268ab275a9 /packet-mip6.c | |
parent | a79c12635f70e35dd84f932a5bb62fb159923976 (diff) |
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
Diffstat (limited to 'packet-mip6.c')
-rw-r--r-- | packet-mip6.c | 6 |
1 files changed, 3 insertions, 3 deletions
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 <teemu.rinta-aho@ericsson.fi> @@ -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; |