equal
deleted
inserted
replaced
|
1 See: |
|
2 |
|
3 https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=7784 |
|
4 http://anonsvn.wireshark.org/viewvc/viewvc.cgi?view=rev&revision=44511 |
|
5 |
|
6 --- epan/dissectors/packet-dtls.c 2012/08/14 22:12:31 44510 |
|
7 +++ epan/dissectors/packet-dtls.c 2012/08/15 06:14:10 44511 |
|
8 @@ -2724,7 +2724,6 @@ |
|
9 |
|
10 register_dissector("dtls", dissect_dtls, proto_dtls); |
|
11 dtls_handle = find_dissector("dtls"); |
|
12 - dissector_add_uint("sctp.ppi", DIAMETER_DTLS_PROTOCOL_ID, dtls_handle); |
|
13 dtls_associations = g_tree_new(ssl_association_cmp); |
|
14 |
|
15 register_init_routine(dtls_init); |
|
16 @@ -2750,8 +2749,10 @@ |
|
17 dtls_parse_uat(); |
|
18 dtls_parse_old_keys(); |
|
19 |
|
20 - if (initialized == FALSE) |
|
21 + if (initialized == FALSE) { |
|
22 heur_dissector_add("udp", dissect_dtls_heur, proto_dtls); |
|
23 + dissector_add_uint("sctp.ppi", DIAMETER_DTLS_PROTOCOL_ID, find_dissector("dtls")); |
|
24 + } |
|
25 |
|
26 initialized = TRUE; |
|
27 } |