Commit 39d99271 authored by 's avatar

Important. Flow ip1->ip2 is not the same as ip2->ip1. Already fixed in...

Important. Flow ip1->ip2 is not the same as ip2->ip1. Already fixed in packetloss.c appliacation (rev. 1235), but here it was left unfortunatelly. Grr.


git-svn-id: file:///home/svn/mapi/trunk@1396 8d5bb341-7cf1-0310-8cf6-ba355fef3186
parent c0d736ef
......@@ -182,9 +182,6 @@ struct exfl_hash_node *exfl_hash_lookup(unsigned int value, struct exfl_data *da
if(compare_ip(record.saddr, hashflow->saddr) && compare_ip(record.daddr, hashflow->daddr)) {
if((record.sport == hashflow->sport) && (record.dport == hashflow->dport)) return tmp;
}
if(compare_ip(record.saddr, hashflow->daddr) && compare_ip(record.daddr, hashflow->saddr)) {
if((record.sport == hashflow->dport) && (record.dport == hashflow->sport)) return tmp;
}
}
}
tmp = tmp->next;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment