diff options
author | 2016-10-06 16:29:17 +0000 | |
---|---|---|
committer | 2016-10-06 16:29:17 +0000 | |
commit | 18d08eb0b8081f625994893b99c2b7ccf66da6bc (patch) | |
tree | 6166c43274ceb29d682739374287e43b0212f0a2 /sys/kern/uipc_socket.c | |
parent | Simplify the 'make includes' step in 'make build': move the privdrop (diff) | |
download | wireguard-openbsd-18d08eb0b8081f625994893b99c2b7ccf66da6bc.tar.xz wireguard-openbsd-18d08eb0b8081f625994893b99c2b7ccf66da6bc.zip |
Add support for RFC 6842, which says the client MUST drop packets when
the server provides a client-identifier value and it doesn't match
the value the client sent.
So stop suppressing client-identifer info in the leases file and when
reading the leases file stop discarding leases that don't have current
client-identifier info. Don't use them, but keep them around in case
the client-identifier info changes back next time.
Also construct the default client-identifier (if needed) before reading
the leases file.
Diffstat (limited to 'sys/kern/uipc_socket.c')
0 files changed, 0 insertions, 0 deletions