Log an error message with the node's name when receiving bad SPTPS packets.
authorGuus Sliepen <guus@tinc-vpn.org>
Sun, 7 Dec 2014 16:25:30 +0000 (17:25 +0100)
committerGuus Sliepen <guus@tinc-vpn.org>
Sun, 7 Dec 2014 16:25:30 +0000 (17:25 +0100)
commitb90c42a33b78f22b7046da5a5445c712020f30eb
treea65a3660679e72ffc14cfda87051a8eab6d35212
parent660a2c7d1bf7f5fba905b525bc7c3b9a5ac2ec99
Log an error message with the node's name when receiving bad SPTPS packets.

The SPTPS code doesn't know about nodes, so when it logs an error about
a bad packet, it doesn't log which node it came from. So add a log
message with the node's name and hostname in receive_udppacket().
src/net_packet.c