diff options
author | Guy Harris <guy@alum.mit.edu> | 2003-11-15 23:58:53 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2003-11-15 23:58:53 +0000 |
commit | 5c33ae3c360d6dccb0330c788693afd6c2941516 (patch) | |
tree | c09a0eb52e936c7f0732afa02f8484facc93a72b /packet-wsp.c | |
parent | a8fc1d810d33a6602ad00d5badafd8a97b81fc18 (diff) | |
download | wireshark-5c33ae3c360d6dccb0330c788693afd6c2941516.tar.gz wireshark-5c33ae3c360d6dccb0330c788693afd6c2941516.tar.bz2 wireshark-5c33ae3c360d6dccb0330c788693afd6c2941516.zip |
From Olivier Biot: fix the offset for the Encoding-Version header in the
general form.
svn path=/trunk/; revision=8976
Diffstat (limited to 'packet-wsp.c')
-rw-r--r-- | packet-wsp.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/packet-wsp.c b/packet-wsp.c index ee6471028e..289990b7af 100644 --- a/packet-wsp.c +++ b/packet-wsp.c @@ -2,7 +2,7 @@ * * Routines to dissect WSP component of WAP traffic. * - * $Id: packet-wsp.c,v 1.86 2003/11/13 23:44:05 guy Exp $ + * $Id: packet-wsp.c,v 1.87 2003/11/15 23:58:53 guy Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs <gerald@ethereal.com> @@ -3417,7 +3417,7 @@ static guint32 wkh_encoding_version (proto_tree *tree, tvbuff_t *tvb, if (val & 0x80) { /* Header Code Page */ val_str = g_strdup_printf("code-page=%u", val & 0x7F); ti = proto_tree_add_string(tree, hf_hdr_encoding_version, - tvb, hdr_start, off - hdr_start, val_str); + tvb, hdr_start, offset - hdr_start, val_str); g_free(val_str); off++; ok = TRUE; |