aboutsummaryrefslogtreecommitdiffstats
path: root/packet-h450.c
diff options
context:
space:
mode:
authorRonnie Sahlberg <ronnie_sahlberg@ozemail.com.au>2003-11-16 22:33:19 +0000
committerRonnie Sahlberg <ronnie_sahlberg@ozemail.com.au>2003-11-16 22:33:19 +0000
commit90d77bef0016f3e13b9a7a5a49bdba3f7bd7db11 (patch)
tree1d1bbc0cfa198f6117d62303e029aadc6f777ed1 /packet-h450.c
parent5c33ae3c360d6dccb0330c788693afd6c2941516 (diff)
Bugfix for h450.
The hf field we give to dissect_per_object_string is a FT_STRING and not a FT_BYTES. This caused ethereal to abort with an assert failure. This fixes the issue that Keith French recently brought up in his mailing to ethereal-users svn path=/trunk/; revision=8977
Diffstat (limited to 'packet-h450.c')
-rw-r--r--packet-h450.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/packet-h450.c b/packet-h450.c
index 4dece5a2de..72f3935ab0 100644
--- a/packet-h450.c
+++ b/packet-h450.c
@@ -4,7 +4,7 @@
*
* Copied from packet-h225.c and packet-h245.c
*
- * $Id: packet-h450.c,v 1.6 2003/10/27 22:28:48 guy Exp $
+ * $Id: packet-h450.c,v 1.7 2003/11/16 22:33:19 sahlberg Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@ethereal.com>
@@ -1103,7 +1103,7 @@ proto_register_h4501(void)
{ "opcode", "h4501.opcode", FT_INT32, BASE_DEC,
VALS(localOpcode_vals), 0, "local", HFILL }},
{ &hf_h4501_globalCode,
- { "global", "h4501.global", FT_BYTES, BASE_HEX,
+ { "global", "h4501.global", FT_STRING, BASE_HEX,
NULL, 0, "global", HFILL }},
{ &hf_h4501_opcode,
{ "opcode", "h4501.opcode", FT_UINT32, BASE_DEC,