diff options
Diffstat (limited to 'epan/dissectors/packet-logcat.c')
-rw-r--r-- | epan/dissectors/packet-logcat.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/epan/dissectors/packet-logcat.c b/epan/dissectors/packet-logcat.c index 1a0b5e2b5e..8b61491dda 100644 --- a/epan/dissectors/packet-logcat.c +++ b/epan/dissectors/packet-logcat.c @@ -28,6 +28,7 @@ #include <epan/expert.h> #include <epan/exported_pdu.h> #include <epan/tap.h> +#include <wiretap/wtap.h> static int proto_logcat = -1; @@ -282,6 +283,8 @@ proto_register_logcat(void) void proto_reg_handoff_logcat(void) { + dissector_add_uint("wtap_encap", WTAP_ENCAP_LOGCAT, logcat_handle); + dissector_add_handle("tcp.port", logcat_handle); exported_pdu_tap = find_tap_id(EXPORT_PDU_TAP_NAME_LOGCAT); |