mirror of
https://github.com/norohind/hans.git
synced 2026-10-22 23:22:12 +03:00
don't warn when a broadcast has been received
This commit is contained in:
1 parent
96eb6f501a
commit
fd8ef174db
1 file changed
+3
@@ -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)
|
||||
|
||||
Reference in new issue
Block a user