aboutsummaryrefslogtreecommitdiffstats
path: root/packet-mbtcp.c
diff options
context:
space:
mode:
authorguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>2001-06-18 02:18:27 +0000
committerguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>2001-06-18 02:18:27 +0000
commitecadcda85dc61d927369fbc4a808f4b5767239d6 (patch)
tree90c18fd2b2f7ddb3e9eac08059e59c3e0068f743 /packet-mbtcp.c
parent89bc50802cc54053da815c4e153b4a8c924a8c61 (diff)
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. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@3561 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'packet-mbtcp.c')
-rw-r--r--packet-mbtcp.c12
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 }
}
};