aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-exported_pdu.c
diff options
context:
space:
mode:
authorPascal Quantin <pascal.quantin@gmail.com>2013-06-28 13:05:12 +0000
committerPascal Quantin <pascal.quantin@gmail.com>2013-06-28 13:05:12 +0000
commitb5187b496b8c29f5d32973eee9c03cd41dbc513d (patch)
treea1df06a37d6eb51decc2ec1e0a9a62952a34ec6b /epan/dissectors/packet-exported_pdu.c
parent8d29106ffba430b423ac28fa393e70136fd3d9fe (diff)
Use newly assigned DLT for PDU export functionality
svn path=/trunk/; revision=50212
Diffstat (limited to 'epan/dissectors/packet-exported_pdu.c')
-rw-r--r--epan/dissectors/packet-exported_pdu.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/epan/dissectors/packet-exported_pdu.c b/epan/dissectors/packet-exported_pdu.c
index 47c1f0e0e8..6245c8d111 100644
--- a/epan/dissectors/packet-exported_pdu.c
+++ b/epan/dissectors/packet-exported_pdu.c
@@ -337,16 +337,14 @@ proto_register_exported_pdu(void)
void
proto_reg_handoff_exported_pdu(void)
{
-#if 0
static gboolean initialized = FALSE;
static dissector_handle_t exported_pdu_handle;
if (!initialized) {
exported_pdu_handle = find_dissector("exported_pdu");
+ dissector_add_uint("wtap_encap", WTAP_ENCAP_WIRESHARK_UPPER_PDU, exported_pdu_handle);
initialized = TRUE;
-
}
-#endif
}