components/wireshark/patches/Bug7784.patch
changeset 1009 49c5130fdb42
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/components/wireshark/patches/Bug7784.patch	Tue Oct 09 00:57:59 2012 -0700
@@ -0,0 +1,27 @@
+See:
+
+https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=7784
+http://anonsvn.wireshark.org/viewvc/viewvc.cgi?view=rev&revision=44511
+
+--- epan/dissectors/packet-dtls.c	2012/08/14 22:12:31	44510
++++ epan/dissectors/packet-dtls.c	2012/08/15 06:14:10	44511
+@@ -2724,7 +2724,6 @@
+ 
+   register_dissector("dtls", dissect_dtls, proto_dtls);
+   dtls_handle = find_dissector("dtls");
+-  dissector_add_uint("sctp.ppi", DIAMETER_DTLS_PROTOCOL_ID, dtls_handle);
+   dtls_associations = g_tree_new(ssl_association_cmp);
+ 
+   register_init_routine(dtls_init);
+@@ -2750,8 +2749,10 @@
+   dtls_parse_uat();
+   dtls_parse_old_keys();
+ 
+-  if (initialized == FALSE)
++  if (initialized == FALSE) {
+     heur_dissector_add("udp", dissect_dtls_heur, proto_dtls);
++    dissector_add_uint("sctp.ppi", DIAMETER_DTLS_PROTOCOL_ID, find_dissector("dtls"));
++  }
+ 
+   initialized = TRUE;
+ }