aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-ziop.c
diff options
context:
space:
mode:
Diffstat (limited to 'epan/dissectors/packet-ziop.c')
-rw-r--r--epan/dissectors/packet-ziop.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/epan/dissectors/packet-ziop.c b/epan/dissectors/packet-ziop.c
index 601f629c1a..06a4dafb6a 100644
--- a/epan/dissectors/packet-ziop.c
+++ b/epan/dissectors/packet-ziop.c
@@ -314,8 +314,7 @@ proto_register_ziop (void)
expert_module_t* expert_ziop;
- proto_ziop = proto_register_protocol("Zipped Inter-ORB Protocol", "ZIOP",
- "ziop");
+ proto_ziop = proto_register_protocol("Zipped Inter-ORB Protocol", "ZIOP", "ziop");
proto_register_field_array (proto_ziop, hf, array_length (hf));
proto_register_subtree_array (ett, array_length (ett));
expert_ziop = expert_register_protocol(proto_ziop);
@@ -329,7 +328,7 @@ void
proto_reg_handoff_ziop (void)
{
ziop_tcp_handle = create_dissector_handle(dissect_ziop_tcp, proto_ziop);
- dissector_add_for_decode_as("udp.port", ziop_tcp_handle);
+ dissector_add_for_decode_as_with_preference("udp.port", ziop_tcp_handle);
heur_dissector_add("tcp", dissect_ziop_heur, "ZIOP over TCP", "ziop_tcp", proto_ziop, HEURISTIC_ENABLE);
}