diff options
author | Michael Mann <mmann78@netscape.net> | 2014-09-04 08:35:51 -0400 |
---|---|---|
committer | Michael Mann <mmann78@netscape.net> | 2014-09-07 01:45:12 +0000 |
commit | 419de19c1dac8c2a922e3d6f455bd02dec7e9f25 (patch) | |
tree | 3cf5877e785305a926ea6eb7d2970ccb85dab9fb /epan/dissectors/packet-lg8979.c | |
parent | 0d6fb098d0f3d7b2a40e61e0c1afd25cfcee7554 (diff) |
Create subdissector table for RTAC Serial and have dissectors register with it, rather than have the RTAC Serial dissector go find all of the dissectors its interested in.
Change-Id: I6b6a05ec242e4798fb56ffa43c661ec277aca955
Reviewed-on: https://code.wireshark.org/review/3984
Reviewed-by: Chris Bontje <cbontje@gmail.com>
Petri-Dish: Michael Mann <mmann78@netscape.net>
Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org>
Reviewed-by: Michael Mann <mmann78@netscape.net>
Diffstat (limited to 'epan/dissectors/packet-lg8979.c')
-rw-r--r-- | epan/dissectors/packet-lg8979.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/epan/dissectors/packet-lg8979.c b/epan/dissectors/packet-lg8979.c index 5c3d228317..d23b989462 100644 --- a/epan/dissectors/packet-lg8979.c +++ b/epan/dissectors/packet-lg8979.c @@ -28,6 +28,7 @@ #include <epan/packet.h> #include "packet-tcp.h" #include <epan/prefs.h> +#include "packet-rtacser.h" void proto_register_lg8979(void); @@ -1548,6 +1549,7 @@ proto_reg_handoff_lg8979(void) lg8979_port = global_lg8979_tcp_port; + dissector_add_uint("rtacser.data", RTACSER_PAYLOAD_LG8979, lg8979_handle); } /* |