View Bug Activity
Format For Printing
Clone This Bug
Setting the UDP port higher than 32767 causes it to be treated as a negative
number, as shown by /connection:
*** IP: xx.xx.xx.xx, Port: 51412/-14124
This is because SearchManager.getPort() returns a signed short. This does not
happen with the TCP port as ConnectionManager.getPort() correctly returns an
Created an attachment (id=256) 
Attached patch fixes the signedness of the getPort() function, as well as a
number of other port-related variables.
The patch doesn't fix the port signedness in the gui...
(In reply to comment #2)
> The patch doesn't fix the port signedness in the gui...
In what sense?
which part of the gui? the parts that use getPort are fixed...
Perhaps it doesn't matter if these are changed or not, but for consistency
sake, they should be changed to use unsigned short.