< Previous by Date Date Index Next by Date >
< Previous in Thread Thread Index Next in Thread >

Re: [reSIProcate-users] tuple comparisons....


That's part of a function that is designed to return true if and only if the lhs is lexically less than the rhs. What it's saying is that INET6 addresses are always considered to be lexically less than INET addresses. It's perfectly valid.

/a

On 10/23/08 3:17 PM, Byron Campen wrote:
Hmm. I want to say this is a bug, but it _looks_ intentional. David, can you weigh in on this?

Best regards,
Byron Campen

I found the following code in "resip/stack/Tuple.cxx" in reSIProcate 1.3.0, isn’t a bug ? When comparing a AF_INET6 with AF_INET tuple, how it can be true ??? if (lhs.mSockaddr.sa_family == AF_INET6 &&
            rhs.mSockaddr.sa_family == AF_INET)
   {
      return true;
   }
Thanks,
Vasanthi
_______________________________________________
resiprocate-users mailing list
resiprocate-users@xxxxxxxxxxxxxxx <mailto:resiprocate-users@xxxxxxxxxxxxxxx>
List Archive: http://list.resiprocate.org/archive/resiprocate-users/

------------------------------------------------------------------------

_______________________________________________
resiprocate-users mailing list
resiprocate-users@xxxxxxxxxxxxxxx
List Archive: http://list.resiprocate.org/archive/resiprocate-users/