aboutsummaryrefslogtreecommitdiffstats
path: root/noise_test.go
diff options
context:
space:
mode:
authorMathias Hall-Andersen <mathias@hall-andersen.dk>2018-09-16 15:05:08 +0200
committerJason A. Donenfeld <Jason@zx2c4.com>2018-09-16 18:49:19 +0200
commit32d2148835d28f5927daee2d1206c88ac343cfb3 (patch)
tree37ce4a7731b0a305f0c9b4b006d5f614d9dfe194 /noise_test.go
parentglobal: fix up copyright headers (diff)
downloadwireguard-go-32d2148835d28f5927daee2d1206c88ac343cfb3.tar.xz
wireguard-go-32d2148835d28f5927daee2d1206c88ac343cfb3.zip
Fixed port overwrite issue on kernels without ipv6
Fixed an issue in CreateBind for Linux: If ipv6 was not supported the error code would be correctly identified as EAFNOSUPPORT and ipv4 binding attempted. However the port would be set to 0, which results in the subsequent create4 call requesting a random port rather than the one provided to CreateBind. This issue was identified by: Kent Friis <leeloored@gmx.com>
Diffstat (limited to 'noise_test.go')
0 files changed, 0 insertions, 0 deletions