Menu

#86 JFlowKey compare problem

Version 1.3
open-accepted
API Issue (77)
5
2011-09-26
2011-08-01
Anonymous
No

JFlowKey.match return incorrect value when IP address is same.

packet1: 16.16.16.16:1 -> 16.16.16.16:2
packet2: 16.16.16.16:2 -> 16.16.16.16:1

int result = packet1.getFlowKey().match(packet2.getFlowKey());

I am expected result is -1(reverse). but returns 1(forward).

Discussion

  • Nobody/Anonymous

    test code

     
  • Sly Technologies

    Thanks for the report. This is an easy fix. I will fix it in next bug update to 1.3 and 1.4.

     
  • Sly Technologies

    • labels: --> API Issue
    • assigned_to: nobody --> voytechs
    • status: open --> open-accepted
     

Log in to post a comment.

MongoDB Logo MongoDB