aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-force10-oui.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-force10-oui.c
parent92215412c5d561f030f52b27397776f902d037dc (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. svn path=/trunk/; revision=28830
Diffstat (limited to 'epan/dissectors/packet-force10-oui.c')
-rw-r--r--epan/dissectors/packet-force10-oui.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/epan/dissectors/packet-force10-oui.c b/epan/dissectors/packet-force10-oui.c
index 5791f3181c..9068d450a2 100644
--- a/epan/dissectors/packet-force10-oui.c
+++ b/epan/dissectors/packet-force10-oui.c
@@ -41,12 +41,13 @@ static const value_string force10_pid_vals[] = {
void
proto_register_force10_oui(void)
{
- static hf_register_info hf = {
- &hf_llc_force10_pid,
+ static hf_register_info hf[] = {
+ { &hf_llc_force10_pid,
{ "PID", "llc.force10_pid", FT_UINT16, BASE_HEX,
- VALS(force10_pid_vals), 0x0, NULL, HFILL },
+ VALS(force10_pid_vals), 0x0, NULL, HFILL }
+ }
};
- llc_add_oui(OUI_FORCE10, "llc.force10_pid", "FORCE10 OUI PID", &hf);
+ llc_add_oui(OUI_FORCE10, "llc.force10_pid", "FORCE10 OUI PID", hf);
}