aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors
diff options
context:
space:
mode:
authorgrahamb <grahamb@f5534014-38df-0310-8fa8-9805f1628bb7>2011-12-09 13:08:50 +0000
committergrahamb <grahamb@f5534014-38df-0310-8fa8-9805f1628bb7>2011-12-09 13:08:50 +0000
commit5b42350d86158184ad792bb6689b6b81adc15fd1 (patch)
treed6e3899bc86b6d7a6e8314549f295820d70d5c8a /epan/dissectors
parente875cc8573667607fcc756e254e02eb27cc0d22d (diff)
Added dissector registration for udp messages to permit use with a USER_DLT as per request from Chris Bontje
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@40128 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'epan/dissectors')
-rw-r--r--epan/dissectors/packet-dnp.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/epan/dissectors/packet-dnp.c b/epan/dissectors/packet-dnp.c
index 051eb3d603..22ff74970b 100644
--- a/epan/dissectors/packet-dnp.c
+++ b/epan/dissectors/packet-dnp.c
@@ -3536,6 +3536,9 @@ proto_register_dnp3(void)
/* Register the protocol name and description */
proto_dnp3 = proto_register_protocol("Distributed Network Protocol 3.0",
"DNP 3.0", "dnp3");
+
+/* Register the dissector so it may be used as a User DLT payload protocol */
+ register_dissector("dnp3.udp", dissect_dnp3_udp, proto_dnp3);
/* Required function calls to register the header fields and subtrees used */
proto_register_field_array(proto_dnp3, hf, array_length(hf));