]> git.ipfire.org Git - thirdparty/wireguard-go.git/commit
device: getsockname on linux to determine port
authorJason A. Donenfeld <Jason@zx2c4.com>
Sun, 25 Aug 2019 18:45:13 +0000 (12:45 -0600)
committerJason A. Donenfeld <Jason@zx2c4.com>
Sun, 25 Aug 2019 18:45:13 +0000 (12:45 -0600)
commitf8198c042810b2c512c610654272db845e32b75e
tree95aed58033343fb4c3714eb03c66de8273a8b2f6
parent0c540ad60e6942f0c8458d8b9b5ceb2d76a0d29b
device: getsockname on linux to determine port

It turns out Go isn't passing the pointer properly so we wound up with a
zero port every time.
device/conn_linux.go