You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What steps will reproduce the problem?
1. call pgm_bind3 with a sockaddr that has sockaddr->sa_addr.sport set to a
value
2. in socket.c line 2029, it calls htons on that port value, thus reversing it.
The sport in a sockaddr should already be assumed to be in network byte order
What is the expected output? What do you see instead?
I expect the tsi to use the port value I specified
What version of the product are you using? On what operating system?
linux/windows, openpgm 5.1.118
Please provide any additional information below.
change socket.c line 2029 from:
sock->tsi.sport = htons (sock->tsi.sport);
to
sock->tsi.sport = sock->tsi.sport;
Original issue reported on code.google.com by [email protected] on 17 Aug 2012 at 12:13
The text was updated successfully, but these errors were encountered:
Original issue reported on code.google.com by
[email protected]
on 17 Aug 2012 at 12:13The text was updated successfully, but these errors were encountered: