mirror of
https://github.com/norohind/hans.git
synced 2025-04-16 06:30:33 +03:00
don't warn when a broadcast has been received
This commit is contained in:
parent
96eb6f501a
commit
fd8ef174db
@ -223,6 +223,9 @@ Server::ClientData *Server::getClientByRealIp(uint32_t ip)
|
||||
|
||||
void Server::handleTunData(int dataLength, uint32_t sourceIp, uint32_t destIp)
|
||||
{
|
||||
if (destIp == network + 255) // ignore broadcasts
|
||||
return;
|
||||
|
||||
ClientData *client = getClientByTunnelIp(destIp);
|
||||
|
||||
if (client == NULL)
|
||||
|
Loading…
x
Reference in New Issue
Block a user