diff options
author | Jason A. Donenfeld <Jason@zx2c4.com> | 2019-07-01 15:24:50 +0200 |
---|---|---|
committer | Jason A. Donenfeld <Jason@zx2c4.com> | 2019-07-01 15:24:50 +0200 |
commit | f361e59001c8e6d8e61c82151a70c6006dac71d4 (patch) | |
tree | 3c02c1da5dda0c378a41d3ceb19da5a810924e5d /device | |
parent | b844f1b3cc2c37ca76427572d8fc8d7977c0274d (diff) |
device: receive: uniform message for source address check
Diffstat (limited to 'device')
-rw-r--r-- | device/receive.go | 2 |
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 } |