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-synphasor.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-synphasor.c')
-rw-r--r-- | epan/dissectors/packet-synphasor.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/epan/dissectors/packet-synphasor.c b/epan/dissectors/packet-synphasor.c index f7f95fa556..2713956cf7 100644 --- a/epan/dissectors/packet-synphasor.c +++ b/epan/dissectors/packet-synphasor.c @@ -27,10 +27,11 @@ #include <glib.h> #include <epan/conversation.h> #include <epan/crc16-tvb.h> -#include <epan/dissectors/packet-tcp.h> #include <epan/packet.h> #include <epan/prefs.h> #include <epan/wmem/wmem.h> +#include "packet-tcp.h" +#include "packet-rtacser.h" #include <math.h> @@ -1345,4 +1346,5 @@ void proto_reg_handoff_synphasor(void) dissector_add_uint("udp.port", current_udp_port, synphasor_udp_handle); dissector_add_uint("tcp.port", current_tcp_port, synphasor_tcp_handle); + dissector_add_uint("rtacser.data", RTACSER_PAYLOAD_SYNPHASOR, synphasor_udp_handle); } /* proto_reg_handoff_synphasor() */ |