When there are multiple conversations with the same key, conversation_lookup_hashtable() did not return the correct conversation for the first packet of a conversation (ie when frame_num == conversation->setup_frame).

svn path=/trunk/; revision=23303
This commit is contained in:
Sake Blok 2007-10-29 06:54:25 +00:00
parent b337d20d4c
commit 3cdaed35ea
1 changed files with 1 additions and 1 deletions

View File

@ -656,7 +656,7 @@ conversation_lookup_hashtable(GHashTable *hashtable, guint32 frame_num, address
if (match) {
for (conversation = match->next; conversation; conversation = conversation->next) {
if ((conversation->setup_frame < frame_num)
if ((conversation->setup_frame <= frame_num)
&& (conversation->setup_frame > match->setup_frame))
match = conversation;
}