summaryrefslogtreecommitdiff
path: root/packet-q2931.c
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>1999-11-27 02:14:38 +0000
committerGuy Harris <guy@alum.mit.edu>1999-11-27 02:14:38 +0000
commit422ad3afe015c83f54d82cb10a40e1862b43ca40 (patch)
tree304562850e5cce3d7119ec704556de13af500ca1 /packet-q2931.c
parent48d5f6de4d6b9a3b0a8e991274d7928bb83440ac (diff)
downloadwireshark-422ad3afe015c83f54d82cb10a40e1862b43ca40.tar.gz
Minor bug fix.
svn path=/trunk/; revision=1121
Diffstat (limited to 'packet-q2931.c')
-rw-r--r--packet-q2931.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/packet-q2931.c b/packet-q2931.c
index bdbee80ea8..7db0fef375 100644
--- a/packet-q2931.c
+++ b/packet-q2931.c
@@ -2,7 +2,7 @@
* Routines for Q.2931 frame disassembly
* Guy Harris <guy@alum.mit.edu>
*
- * $Id: packet-q2931.c,v 1.3 1999/11/25 22:52:20 guy Exp $
+ * $Id: packet-q2931.c,v 1.4 1999/11/27 02:14:38 guy Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@zing.org>
@@ -1401,7 +1401,7 @@ dissect_q2931_number_ie(const u_char *pd, int offset, int len,
case 0x47: /* ICD ATM format */
case 0xC5: /* ICD ATM group format */
- proto_tree_add_text(nsap_tree, offset, 1,
+ proto_tree_add_text(nsap_tree, offset + 0, 3,
"International Code Designator%s: 0x%04X",
(pd[offset] == 0xC5) ? " (group)" : "",
pntohs(&pd[offset + 1]));