Added warning log entry for out of range port on packet
This commit is contained in:
parent
3f9bf0b17c
commit
39466ac70c
@ -210,6 +210,7 @@ class Connector
|
||||
packet.getAddress(), packet.getPort()));
|
||||
if (packet.getPort() < 0)
|
||||
{
|
||||
logger.warning("Out of range packet port, resetting to 0");
|
||||
// force a minimum port of 0 to prevent out of range errors
|
||||
packet.setPort(0);
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user