From Roland Knall via bug #5726: Adding a dissector registration, so the
authorsfisher <sfisher@f5534014-38df-0310-8fa8-9805f1628bb7>
Thu, 24 Feb 2011 21:47:37 +0000 (21:47 +0000)
committersfisher <sfisher@f5534014-38df-0310-8fa8-9805f1628bb7>
Thu, 24 Feb 2011 21:47:37 +0000 (21:47 +0000)
dissector may be called by other dissectors.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@36055 f5534014-38df-0310-8fa8-9805f1628bb7

plugins/sercosiii/packet-sercosiii_1v1.c

index e0af9e83860a7247240911362ca1a8864a1d3fe3..fe4c1b5c2efb34d42ffbc727dca9ccf4cd814fe9 100644 (file)
@@ -95,6 +95,8 @@ proto_register_sercosiii(void)
   proto_siii = proto_register_protocol("SERCOS III V1.1",
       "SERCOS III V1.1", "sercosiii");
 
+  register_dissector("sercosiii", dissect_siii, proto_siii);
+
   /* Required function calls to register the header fields and subtrees used */
   proto_register_subtree_array(ett, array_length(ett));