aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2003-12-05 22:33:11 +0000
committerGuy Harris <guy@alum.mit.edu>2003-12-05 22:33:11 +0000
commita517aeb953cd9e08174495b0546e85ca2134ff44 (patch)
tree646f650d888226749f4b7dd410afa9e61c641c77
parentc219943fc127c8721cec10d7f06225e456e0655e (diff)
"hf_ccsds_secheader" is an FT_BOOLEAN; use "proto_tree_add_boolean()"
for it. svn path=/trunk/; revision=9178
-rw-r--r--packet-ccsds.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/packet-ccsds.c b/packet-ccsds.c
index 65e52ad8f6..1fd2b7be20 100644
--- a/packet-ccsds.c
+++ b/packet-ccsds.c
@@ -2,7 +2,7 @@
* Routines for CCSDS dissection
* Copyright 2000, Scott Hovis scott.hovis@ums.msfc.nasa.gov
*
- * $Id: packet-ccsds.c,v 1.2 2003/11/24 23:46:06 guy Exp $
+ * $Id: packet-ccsds.c,v 1.3 2003/12/05 22:33:11 guy Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@ethereal.com>
@@ -104,7 +104,7 @@ dissect_ccsds(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
first_word=tvb_get_ntohs(tvb, offset);
proto_tree_add_uint(header_tree, hf_ccsds_version, tvb, offset, 2, first_word);
proto_tree_add_uint(header_tree, hf_ccsds_type, tvb, offset, 2, first_word);
- proto_tree_add_uint(header_tree, hf_ccsds_secheader, tvb, offset, 2, first_word);
+ proto_tree_add_boolean(header_tree, hf_ccsds_secheader, tvb, offset, 2, first_word);
proto_tree_add_uint(header_tree, hf_ccsds_apid, tvb, offset, 2, first_word);
offset += 2;