From f361e59001c8e6d8e61c82151a70c6006dac71d4 Mon Sep 17 00:00:00 2001 From: "Jason A. Donenfeld" Date: Mon, 1 Jul 2019 15:24:50 +0200 Subject: device: receive: uniform message for source address check --- device/receive.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'device') diff --git a/device/receive.go b/device/receive.go index eb6e3b2..7d0693e 100644 --- a/device/receive.go +++ b/device/receive.go @@ -619,8 +619,8 @@ func (peer *Peer) RoutineSequentialReceiver() { src := elem.packet[IPv6offsetSrc : IPv6offsetSrc+net.IPv6len] if device.allowedips.LookupIPv6(src) != peer { logInfo.Println( + "IPv6 packet with disallowed source address from", peer, - "sent packet with disallowed IPv6 source", ) continue } -- cgit v1.2.3