diff options
author | Pascal Quantin <pascal.quantin@gmail.com> | 2014-06-19 02:42:47 +0200 |
---|---|---|
committer | Anders Broman <a.broman58@gmail.com> | 2014-06-19 06:48:32 +0000 |
commit | bcff3c57cc42acdda9eb9bc6f556dcbcb069e51f (patch) | |
tree | dba01dffd0e0baa72d2945ca5928dca157a8ecdd /epan/dissectors/packet-logcat.c | |
parent | 5a6366c9b56990eb7f4af17bf628ad80fc354ece (diff) |
Add the ability to dynamically add a new protocol to export PDU dialog box
Change-Id: I83012cc963d514982e40010e837e11a6fcf1bc3e
Reviewed-on: https://code.wireshark.org/review/2423
Reviewed-by: Anders Broman <a.broman58@gmail.com>
Diffstat (limited to 'epan/dissectors/packet-logcat.c')
-rw-r--r-- | epan/dissectors/packet-logcat.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/epan/dissectors/packet-logcat.c b/epan/dissectors/packet-logcat.c index 4f8427760c..4d02d9593c 100644 --- a/epan/dissectors/packet-logcat.c +++ b/epan/dissectors/packet-logcat.c @@ -277,6 +277,8 @@ proto_register_logcat(void) expert_module = expert_register_protocol(proto_logcat); expert_register_field_array(expert_module, ei, array_length(ei)); + + exported_pdu_tap = register_export_pdu_tap("Logcat"); } @@ -286,8 +288,6 @@ 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); } /* |