diff options
author | Guy Harris <guy@alum.mit.edu> | 2003-12-05 22:33:11 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2003-12-05 22:33:11 +0000 |
commit | a517aeb953cd9e08174495b0546e85ca2134ff44 (patch) | |
tree | 646f650d888226749f4b7dd410afa9e61c641c77 | |
parent | c219943fc127c8721cec10d7f06225e456e0655e (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.c | 4 |
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; |