aboutsummaryrefslogtreecommitdiffstats
path: root/packet-q2931.c
diff options
context:
space:
mode:
authorguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>1999-11-27 02:14:38 +0000
committerguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>1999-11-27 02:14:38 +0000
commit557b054483acff1edc52f2f751a7acbe9b38e9fd (patch)
tree304562850e5cce3d7119ec704556de13af500ca1 /packet-q2931.c
parentc3a0bbb35d1daad20626ce9c43766aafbfffb51e (diff)
Minor bug fix.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@1121 f5534014-38df-0310-8fa8-9805f1628bb7
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]));