aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-roofnet.c
diff options
context:
space:
mode:
Diffstat (limited to 'epan/dissectors/packet-roofnet.c')
-rw-r--r--epan/dissectors/packet-roofnet.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/epan/dissectors/packet-roofnet.c b/epan/dissectors/packet-roofnet.c
index 5ea20e0239..5b69b7cda4 100644
--- a/epan/dissectors/packet-roofnet.c
+++ b/epan/dissectors/packet-roofnet.c
@@ -361,8 +361,8 @@ void proto_reg_handoff_roofnet(void)
roofnet_handle = create_dissector_handle(dissect_roofnet, proto_roofnet);
/* I did not put the type numbers in the ethertypes.h as they only are
* experimental and not official */
- dissector_add("ethertype", 0x0641, roofnet_handle);
- dissector_add("ethertype", 0x0643, roofnet_handle);
- dissector_add("ethertype", 0x0644, roofnet_handle);
- dissector_add("ethertype", 0x0645, roofnet_handle);
+ dissector_add_uint("ethertype", 0x0641, roofnet_handle);
+ dissector_add_uint("ethertype", 0x0643, roofnet_handle);
+ dissector_add_uint("ethertype", 0x0644, roofnet_handle);
+ dissector_add_uint("ethertype", 0x0645, roofnet_handle);
}