aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-cimetrics.c
diff options
context:
space:
mode:
authorStig Bjørlykke <stig@bjorlykke.org>2009-06-24 02:11:11 +0000
committerStig Bjørlykke <stig@bjorlykke.org>2009-06-24 02:11:11 +0000
commit975a16f70693ed2815c8033457de4421448b6a00 (patch)
treeb1d274274c7e87347b1a7bae90a828974377895d /epan/dissectors/packet-cimetrics.c
parent92215412c5d561f030f52b27397776f902d037dc (diff)
downloadwireshark-975a16f70693ed2815c8033457de4421448b6a00.tar.gz
wireshark-975a16f70693ed2815c8033457de4421448b6a00.tar.bz2
wireshark-975a16f70693ed2815c8033457de4421448b6a00.zip
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. svn path=/trunk/; revision=28830
Diffstat (limited to 'epan/dissectors/packet-cimetrics.c')
-rw-r--r--epan/dissectors/packet-cimetrics.c7
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