aboutsummaryrefslogtreecommitdiffstats
path: root/device/receive.go
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2019-07-01 15:24:50 +0200
committerJason A. Donenfeld <Jason@zx2c4.com>2019-07-01 15:24:50 +0200
commitf361e59001c8e6d8e61c82151a70c6006dac71d4 (patch)
tree3c02c1da5dda0c378a41d3ceb19da5a810924e5d /device/receive.go
parenttun: windows: packetNum is unused (diff)
downloadwireguard-go-f361e59001c8e6d8e61c82151a70c6006dac71d4.tar.xz
wireguard-go-f361e59001c8e6d8e61c82151a70c6006dac71d4.zip
device: receive: uniform message for source address check
Diffstat (limited to '')
-rw-r--r--device/receive.go2
1 files changed, 1 insertions, 1 deletions
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
}