Fix node bug
This commit is contained in:
parent
a97fbd4c8a
commit
ca019864f6
@ -704,7 +704,7 @@ namespace Components
|
|||||||
Network::Address _addr(list.address(i));
|
Network::Address _addr(list.address(i));
|
||||||
|
|
||||||
// Version 0 sends port in the wrong byte order!
|
// Version 0 sends port in the wrong byte order!
|
||||||
if (entry->version == 0)
|
if (list.version() == 0)
|
||||||
{
|
{
|
||||||
_addr.SetPort(ntohs(_addr.GetPort()));
|
_addr.SetPort(ntohs(_addr.GetPort()));
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user