aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-ber.c
diff options
context:
space:
mode:
authorgal <gal@f5534014-38df-0310-8fa8-9805f1628bb7>2011-08-16 12:28:17 +0000
committergal <gal@f5534014-38df-0310-8fa8-9805f1628bb7>2011-08-16 12:28:17 +0000
commitdc0a37c752bddeaaaa1034142375d6500cad6e35 (patch)
treef2fc13d689e018d048b2db3f26fb50b5b94c6c35 /epan/dissectors/packet-ber.c
parent50db548b53c1c748bfb2b6b6479b8fc25c716114 (diff)
Allow the dissection of BER/DER carried over a TCP transport using
"Decode As..." git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@38560 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'epan/dissectors/packet-ber.c')
-rw-r--r--epan/dissectors/packet-ber.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/epan/dissectors/packet-ber.c b/epan/dissectors/packet-ber.c
index e5c20cf1d8..610dcaebde 100644
--- a/epan/dissectors/packet-ber.c
+++ b/epan/dissectors/packet-ber.c
@@ -4986,7 +4986,9 @@ proto_reg_handoff_ber(void)
syntax_names[i].value = 0;
syntax_names[i].strptr = NULL;
-
+ /* allow the dissection of BER/DER carried over a TCP transport
+ by using "Decode As..." */
+ dissector_add_handle("tcp.port", ber_handle);
ber_update_oids();
}