]> git.ipfire.org Git - thirdparty/wireguard-go.git/commit
fix addressing and deadlines
authortqbf <thomas@fly.io>
Wed, 2 Feb 2022 18:14:39 +0000 (12:14 -0600)
committertqbf <thomas@fly.io>
Wed, 2 Feb 2022 18:14:39 +0000 (12:14 -0600)
commitf7acdab244e1b3b8dd75dfd8090c31af5a713321
tree48ae299aa443f6a610c480ae93ce0b636813f0c6
parenta702597e228006460b1b9f01fb9d8cc12327132f
fix addressing and deadlines

- setting a now deadline unblocks a blocked read
- setting a specific deadline over a previous deadline honors
  the new one
- WriteTo will accept a net.Addr, not just a PingAddr

Signed-off-by: Thomas Ptacek <thomas@sockpuppet.org>
tun/netstack/tun.go