aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-exported_pdu.c
diff options
context:
space:
mode:
authorPascal Quantin <pascal.quantin@gmail.com>2013-06-18 23:01:46 +0000
committerPascal Quantin <pascal.quantin@gmail.com>2013-06-18 23:01:46 +0000
commitd09ffee44e0926d99318d52a775e4bcb3f9a73f4 (patch)
tree7d88c94324a7597d485274433be7bd94977cc84e /epan/dissectors/packet-exported_pdu.c
parent2cf27a92a6c5309d4586dbf2592520e5e33b161d (diff)
Add ability to export decrypted IPsec PDUs
svn path=/trunk/; revision=50022
Diffstat (limited to 'epan/dissectors/packet-exported_pdu.c')
-rw-r--r--epan/dissectors/packet-exported_pdu.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/epan/dissectors/packet-exported_pdu.c b/epan/dissectors/packet-exported_pdu.c
index fd6a000147..6c73f6fa3a 100644
--- a/epan/dissectors/packet-exported_pdu.c
+++ b/epan/dissectors/packet-exported_pdu.c
@@ -33,8 +33,6 @@
void proto_reg_handoff_exported_pdu(void);
-static gint exported_pdu_tap = -1;
-
static int proto_exported_pdu = -1;
static int hf_exported_pdu_tag = -1;
static int hf_exported_pdu_tag_len = -1;
@@ -299,7 +297,8 @@ proto_register_exported_pdu(void)
* The tap is registered here but it is to be used by dissectors that
* want to export their PDU:s, see packet-sip.c
*/
- exported_pdu_tap = register_tap(EXPORT_PDU_TAP_NAME_LAYER_7);
+ register_tap(EXPORT_PDU_TAP_NAME_LAYER_3);
+ register_tap(EXPORT_PDU_TAP_NAME_LAYER_7);
}