diff options
author | stig <stig@f5534014-38df-0310-8fa8-9805f1628bb7> | 2009-06-24 02:11:11 +0000 |
---|---|---|
committer | stig <stig@f5534014-38df-0310-8fa8-9805f1628bb7> | 2009-06-24 02:11:11 +0000 |
commit | 7cdbfc38250f9aaf028f1163bcb03f9fd6f3a938 (patch) | |
tree | b1d274274c7e87347b1a7bae90a828974377895d /epan/dissectors/packet-cimetrics.c | |
parent | 978e48966127f515c75e4f63b05474858b072e14 (diff) |
From Kovarththanan Rajaratnam:
Cleanup hf_register_info declaration passed to llc_add_oui(). While there,
change the declaration to an array in order to be consistent with the rest
of packet-*.c files.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@28830 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'epan/dissectors/packet-cimetrics.c')
-rw-r--r-- | epan/dissectors/packet-cimetrics.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/epan/dissectors/packet-cimetrics.c b/epan/dissectors/packet-cimetrics.c index 50878f6d5f..13bc264f30 100644 --- a/epan/dissectors/packet-cimetrics.c +++ b/epan/dissectors/packet-cimetrics.c @@ -100,11 +100,12 @@ proto_register_cimetrics(void) "value", HFILL } } }; - static hf_register_info hf2 = { - &hf_llc_cimetrics_pid, + static hf_register_info hf2[] = { + { &hf_llc_cimetrics_pid, { "PID", "llc.cimetrics_pid", FT_UINT16, BASE_HEX, VALS(cimetrics_pid_vals), 0, NULL, HFILL } + } }; static gint *ett[] = { &ett_cimetrics_mstp @@ -120,7 +121,7 @@ proto_register_cimetrics(void) proto_cimetrics_mstp); llc_add_oui(OUI_CIMETRICS, "llc.cimetrics_pid", - "Cimetrics OUI PID", &hf2); + "Cimetrics OUI PID", hf2); } void |