diff options
author | Guy Harris <guy@alum.mit.edu> | 2004-02-20 22:32:36 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2004-02-20 22:32:36 +0000 |
commit | 082091a7d5b42d7e04745568ab9e2bc93ba17581 (patch) | |
tree | 51310da7a647385e13f20cd10d97e67c52753c16 /packet-q931.c | |
parent | 0a8db3ba3205436beaba55ebcf78b2a8cad1b557 (diff) | |
download | wireshark-082091a7d5b42d7e04745568ab9e2bc93ba17581.tar.gz wireshark-082091a7d5b42d7e04745568ab9e2bc93ba17581.tar.bz2 wireshark-082091a7d5b42d7e04745568ab9e2bc93ba17581.zip |
Squelch some compiler warnings.
Format the definitions of the segment-reassembly fields the same way the
other field definitions are formatted.
svn path=/trunk/; revision=10142
Diffstat (limited to 'packet-q931.c')
-rw-r--r-- | packet-q931.c | 59 |
1 files changed, 25 insertions, 34 deletions
diff --git a/packet-q931.c b/packet-q931.c index bf0f942a7b..d6d7d71f0b 100644 --- a/packet-q931.c +++ b/packet-q931.c @@ -2,7 +2,7 @@ * Routines for Q.931 frame disassembly * Guy Harris <guy@alum.mit.edu> * - * $Id: packet-q931.c,v 1.70 2004/02/20 10:34:42 guy Exp $ + * $Id: packet-q931.c,v 1.71 2004/02/20 22:32:36 guy Exp $ * * Modified by Andreas Sikkema for possible use with H.323 * @@ -3032,45 +3032,36 @@ proto_register_q931(void) "", HFILL }}, /* desegmentation fields */ { &hf_q931_segment_overlap, - { "Segment overlap", "q931.segment.overlap", - FT_BOOLEAN, BASE_NONE, NULL, 0x0, - "Fragment overlaps with other fragments"} - }, + { "Segment overlap", "q931.segment.overlap", FT_BOOLEAN, BASE_NONE, NULL, 0x0, + "Fragment overlaps with other fragments", HFILL }}, + { &hf_q931_segment_overlap_conflict, - { "Conflicting data in fragment overlap", "q931.segment.overlap.conflict", - FT_BOOLEAN, BASE_NONE, NULL, 0x0, - "Overlapping fragments contained conflicting data"} - }, + { "Conflicting data in fragment overlap", "q931.segment.overlap.conflict", FT_BOOLEAN, BASE_NONE, NULL, 0x0, + "Overlapping fragments contained conflicting data", HFILL }}, + { &hf_q931_segment_multiple_tails, - { "Multiple tail fragments found", "q931.segment.multipletails", - FT_BOOLEAN, BASE_NONE, NULL, 0x0, - "Several tails were found when defragmenting the packet"} - }, + { "Multiple tail fragments found", "q931.segment.multipletails", FT_BOOLEAN, BASE_NONE, NULL, 0x0, + "Several tails were found when defragmenting the packet", HFILL }}, + { &hf_q931_segment_too_long_segment, - { "Segment too long", "q931.segment.toolongfragment", - FT_BOOLEAN, BASE_NONE, NULL, 0x0, - "Segment contained data past end of packet"} - }, + { "Segment too long", "q931.segment.toolongfragment", FT_BOOLEAN, BASE_NONE, NULL, 0x0, + "Segment contained data past end of packet", HFILL }}, + { &hf_q931_segment_error, - { "Defragmentation error", "q931.segment.error", - FT_FRAMENUM, BASE_NONE, NULL, 0x0, - "Defragmentation error due to illegal fragments"} - }, + { "Defragmentation error", "q931.segment.error", FT_FRAMENUM, BASE_NONE, NULL, 0x0, + "Defragmentation error due to illegal fragments", HFILL }}, + { &hf_q931_segment, - { "Q.931 Segment", "q931.segment", - FT_FRAMENUM, BASE_NONE, NULL, 0x0, - "Q.931 Segment"} - }, + { "Q.931 Segment", "q931.segment", FT_FRAMENUM, BASE_NONE, NULL, 0x0, + "Q.931 Segment", HFILL }}, + { &hf_q931_segments, - { "Q.931 Segments", "q931.segments", - FT_NONE, BASE_NONE, NULL, 0x0, - "Q.931 Segments"} - }, - { &hf_q931_reassembled_in, - { "Reassembled Q.931 in frame", "q931.reassembled_in", - FT_FRAMENUM, BASE_NONE, NULL, 0x0, - "This Q.931 message is reassembled in this frame"} - }, + { "Q.931 Segments", "q931.segments", FT_NONE, BASE_NONE, NULL, 0x0, + "Q.931 Segments", HFILL }}, + + { &hf_q931_reassembled_in, + { "Reassembled Q.931 in frame", "q931.reassembled_in", FT_FRAMENUM, BASE_NONE, NULL, 0x0, + "This Q.931 message is reassembled in this frame", HFILL}}, }; static gint *ett[] = { &ett_q931, |