aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-iana-oui.c
diff options
context:
space:
mode:
authorstig <stig@f5534014-38df-0310-8fa8-9805f1628bb7>2009-06-24 02:11:11 +0000
committerstig <stig@f5534014-38df-0310-8fa8-9805f1628bb7>2009-06-24 02:11:11 +0000
commit7cdbfc38250f9aaf028f1163bcb03f9fd6f3a938 (patch)
treeb1d274274c7e87347b1a7bae90a828974377895d /epan/dissectors/packet-iana-oui.c
parent978e48966127f515c75e4f63b05474858b072e14 (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-iana-oui.c')
-rw-r--r--epan/dissectors/packet-iana-oui.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/epan/dissectors/packet-iana-oui.c b/epan/dissectors/packet-iana-oui.c
index 14a71e05a0..66959fb2d4 100644
--- a/epan/dissectors/packet-iana-oui.c
+++ b/epan/dissectors/packet-iana-oui.c
@@ -51,11 +51,12 @@ static const value_string iana_pid_vals[] = {
void
proto_register_iana_oui(void)
{
- static hf_register_info hf = {
- &hf_llc_iana_pid,
+ static hf_register_info hf[] = {
+ { &hf_llc_iana_pid,
{ "PID", "llc.iana_pid", FT_UINT16, BASE_HEX,
- VALS(iana_pid_vals), 0x0, "", HFILL },
+ VALS(iana_pid_vals), 0x0, NULL, HFILL }
+ }
};
- llc_add_oui(OUI_IANA, "llc.iana_pid", "IANA OUI PID", &hf);
+ llc_add_oui(OUI_IANA, "llc.iana_pid", "IANA OUI PID", hf);
}