diff options
author | Pascal Quantin <pascal.quantin@gmail.com> | 2015-10-28 22:32:17 +0100 |
---|---|---|
committer | Pascal Quantin <pascal.quantin@gmail.com> | 2015-10-30 18:08:06 +0000 |
commit | 9e54fcee5224aef800155514cac5e40d9e38a23e (patch) | |
tree | 15c31219710aa882d6d4a1b5404f46ea31e22cb6 /epan/dissectors/packet-atalk.c | |
parent | d6dd50b1e33de97ed540efdf984ac1564b9c84ef (diff) |
STUN: register a new conversation dissector after receiving a ConnectionBind Success Response message
According to RFC 6062, once the connection is established, data is sent as-is
To stop the STUN dissector from interfering, add the ability to specify a starting
frame for a conversation dissector and use it
Bug: 11641
Change-Id: I65ca96bddacf70444009c0642ea22173fa68992e
Reviewed-on: https://code.wireshark.org/review/11372
Petri-Dish: Pascal Quantin <pascal.quantin@gmail.com>
Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org>
Reviewed-by: Pascal Quantin <pascal.quantin@gmail.com>
Diffstat (limited to 'epan/dissectors/packet-atalk.c')
-rw-r--r-- | epan/dissectors/packet-atalk.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/dissectors/packet-atalk.c b/epan/dissectors/packet-atalk.c index c62655a317..a02dfc27f4 100644 --- a/epan/dissectors/packet-atalk.c +++ b/epan/dissectors/packet-atalk.c @@ -853,7 +853,7 @@ dissect_atp(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) { call_dissector_with_data(zip_atp_handle, new_tvb, pinfo, tree, &aspinfo); else { /* XXX need a conversation_get_dissector function ? */ - if (!aspinfo.reply && !conversation->dissector_handle) { + if (!aspinfo.reply && !conversation_get_dissector(conversation, pinfo->fd->num)) { dissector_handle_t sub; /* if it's a known ASP function call ASP dissector |