diff options
author | Hannes Mezger <hannes.mezger@ascolab.com> | 2014-09-17 15:36:59 +0200 |
---|---|---|
committer | Michael Mann <mmann78@netscape.net> | 2014-09-17 23:14:34 +0000 |
commit | 769a98498dda2c88986f9ed5442c82d2d6427268 (patch) | |
tree | b7312cc4f839921afb44f1586bd91093ee3283d6 /plugins/opcua/opcua.c | |
parent | d8afd59b554e30c0063faa48b98703065c2057a3 (diff) |
opcua: format all hf_register_info tables by aligning them to longest value
Change-Id: I0b533edd7bad52922dd1e0aaa2c980e56dd88b78
Reviewed-on: https://code.wireshark.org/review/4149
Reviewed-by: Michael Mann <mmann78@netscape.net>
Diffstat (limited to 'plugins/opcua/opcua.c')
-rw-r--r-- | plugins/opcua/opcua.c | 43 |
1 files changed, 11 insertions, 32 deletions
diff --git a/plugins/opcua/opcua.c b/plugins/opcua/opcua.c index a516bc2267..ba12d0101d 100644 --- a/plugins/opcua/opcua.c +++ b/plugins/opcua/opcua.c @@ -394,38 +394,17 @@ void proto_register_opcua(void) static hf_register_info hf[] = { - {&hf_opcua_fragments, - {"Message fragments", "opcua.fragments", - FT_NONE, BASE_NONE, NULL, 0x00, NULL, HFILL } }, - {&hf_opcua_fragment, - {"Message fragment", "opcua.fragment", - FT_FRAMENUM, BASE_NONE, NULL, 0x00, NULL, HFILL } }, - {&hf_opcua_fragment_overlap, - {"Message fragment overlap", "opcua.fragment.overlap", - FT_BOOLEAN, 0, NULL, 0x00, NULL, HFILL } }, - {&hf_opcua_fragment_overlap_conflicts, - {"Message fragment overlapping with conflicting data", - "opcua.fragment.overlap.conflicts", - FT_BOOLEAN, 0, NULL, 0x00, NULL, HFILL } }, - {&hf_opcua_fragment_multiple_tails, - {"Message has multiple tail fragments", - "opcua.fragment.multiple_tails", - FT_BOOLEAN, 0, NULL, 0x00, NULL, HFILL } }, - {&hf_opcua_fragment_too_long_fragment, - {"Message fragment too long", "opcua.fragment.too_long_fragment", - FT_BOOLEAN, 0, NULL, 0x00, NULL, HFILL } }, - {&hf_opcua_fragment_error, - {"Message defragmentation error", "opcua.fragment.error", - FT_FRAMENUM, BASE_NONE, NULL, 0x00, NULL, HFILL } }, - {&hf_opcua_fragment_count, - {"Message fragment count", "opcua.fragment.count", - FT_UINT32, BASE_DEC, NULL, 0x00, NULL, HFILL } }, - {&hf_opcua_reassembled_in, - {"Reassembled in", "opcua.reassembled.in", - FT_FRAMENUM, BASE_NONE, NULL, 0x00, NULL, HFILL } }, - {&hf_opcua_reassembled_length, - {"Reassembled length", "opcua.reassembled.length", - FT_UINT32, BASE_DEC, NULL, 0x00, NULL, HFILL } } + /* id full name abbreviation type display strings bitmask blurb HFILL */ + {&hf_opcua_fragments, {"Message fragments", "opcua.fragments", FT_NONE, BASE_NONE, NULL, 0x00, NULL, HFILL}}, + {&hf_opcua_fragment, {"Message fragment", "opcua.fragment", FT_FRAMENUM, BASE_NONE, NULL, 0x00, NULL, HFILL}}, + {&hf_opcua_fragment_overlap, {"Message fragment overlap", "opcua.fragment.overlap", FT_BOOLEAN, 0, NULL, 0x00, NULL, HFILL}}, + {&hf_opcua_fragment_overlap_conflicts, {"Message fragment overlapping with conflicting data", "opcua.fragment.overlap.conflicts", FT_BOOLEAN, 0, NULL, 0x00, NULL, HFILL}}, + {&hf_opcua_fragment_multiple_tails, {"Message has multiple tail fragments", "opcua.fragment.multiple_tails", FT_BOOLEAN, 0, NULL, 0x00, NULL, HFILL}}, + {&hf_opcua_fragment_too_long_fragment, {"Message fragment too long", "opcua.fragment.too_long_fragment", FT_BOOLEAN, 0, NULL, 0x00, NULL, HFILL}}, + {&hf_opcua_fragment_error, {"Message defragmentation error", "opcua.fragment.error", FT_FRAMENUM, BASE_NONE, NULL, 0x00, NULL, HFILL}}, + {&hf_opcua_fragment_count, {"Message fragment count", "opcua.fragment.count", FT_UINT32, BASE_DEC, NULL, 0x00, NULL, HFILL}}, + {&hf_opcua_reassembled_in, {"Reassembled in", "opcua.reassembled.in", FT_FRAMENUM, BASE_NONE, NULL, 0x00, NULL, HFILL}}, + {&hf_opcua_reassembled_length, {"Reassembled length", "opcua.reassembled.length", FT_UINT32, BASE_DEC, NULL, 0x00, NULL, HFILL}} }; /** Setup protocol subtree array */ |