Log from which IPs odd UDP packets come from

This commit is contained in:
Samuel Thibault 2024-02-04 02:26:28 +01:00
parent 38bfd3f738
commit 3add0afa38

View file

@ -4937,7 +4937,7 @@ static void processppp(sessionidt s, uint8_t *buf, int len, uint8_t *p, int l, s
return; return;
} }
LOG(1, s, t, "UDP packet contains session which is not opened. Dropping packet.\n"); LOG(1, s, t, "UDP packet from %s contains session which is not opened. Dropping packet.\n", fmtaddr(addr->sin_addr.s_addr, 0));
STAT(tunnel_rx_errors); STAT(tunnel_rx_errors);
return; return;
} }