diff options
author | Stephen Fisher <steve@stephen-fisher.com> | 2011-02-24 21:47:37 +0000 |
---|---|---|
committer | Stephen Fisher <steve@stephen-fisher.com> | 2011-02-24 21:47:37 +0000 |
commit | a62a37fbbe2510d826474dd416e2e490a781ae85 (patch) | |
tree | 52977aeca9562e498eabb5076bc376ab77bba640 | |
parent | 80b7f99b1ce00c712abee02bcc7fd6be24006996 (diff) |
From Roland Knall via bug #5726: Adding a dissector registration, so the
dissector may be called by other dissectors.
svn path=/trunk/; revision=36055
-rw-r--r-- | plugins/sercosiii/packet-sercosiii_1v1.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/plugins/sercosiii/packet-sercosiii_1v1.c b/plugins/sercosiii/packet-sercosiii_1v1.c index e0af9e8386..fe4c1b5c2e 100644 --- a/plugins/sercosiii/packet-sercosiii_1v1.c +++ b/plugins/sercosiii/packet-sercosiii_1v1.c @@ -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)); |