diff options
author | Guy Harris <guy@alum.mit.edu> | 2001-06-18 02:18:27 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2001-06-18 02:18:27 +0000 |
commit | 84123931970a8a0f1af281e7351eadabba3c0908 (patch) | |
tree | 90c18fd2b2f7ddb3e9eac08059e59c3e0068f743 /packet-mbtcp.c | |
parent | b9222c0011e362d2ba9895af4eaef04a3d72c8c6 (diff) | |
download | wireshark-84123931970a8a0f1af281e7351eadabba3c0908.tar.gz wireshark-84123931970a8a0f1af281e7351eadabba3c0908.tar.bz2 wireshark-84123931970a8a0f1af281e7351eadabba3c0908.zip |
From Joerg Mayer: explicitly fill in all members of a
"header_field_info" structure, including the ones that are later set by
the routines to register fields.
svn path=/trunk/; revision=3561
Diffstat (limited to 'packet-mbtcp.c')
-rw-r--r-- | packet-mbtcp.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/packet-mbtcp.c b/packet-mbtcp.c index fc223236d7..5248e1de71 100644 --- a/packet-mbtcp.c +++ b/packet-mbtcp.c @@ -10,7 +10,7 @@ * * for information on Modbus/TCP. * - * $Id: packet-mbtcp.c,v 1.3 2001/04/24 23:22:03 guy Exp $ + * $Id: packet-mbtcp.c,v 1.4 2001/06/18 02:17:48 guy Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs <gerald@ethereal.com> @@ -368,28 +368,28 @@ proto_register_modbus(void) { &hf_mbtcp_transid, { "transaction identifier", "modbus_tcp.trans_id", FT_UINT16, BASE_DEC, NULL, 0x0, - "" } + "", HFILL } }, { &hf_mbtcp_protid, { "protocol identifier", "modbus_tcp.prot_id", FT_UINT16, BASE_DEC, NULL, 0x0, - "" } + "", HFILL } }, { &hf_mbtcp_len, { "length", "modbus_tcp.len", FT_UINT16, BASE_DEC, NULL, 0x0, - "" } + "", HFILL } }, /* Modbus header fields */ { &hf_mbtcp_unitid, { "unit identifier", "modbus_tcp.unit_id", FT_UINT8, BASE_DEC, NULL, 0x0, - "" } + "", HFILL } }, { &hf_mbtcp_functioncode, { "function code ", "modbus_tcp.func_code", FT_UINT8, BASE_DEC, NULL, 0x0, - "" } + "", HFILL } } }; |