diff options
author | Mathias Hall-Andersen <mathias@hall-andersen.dk> | 2018-09-16 15:05:08 +0200 |
---|---|---|
committer | Jason A. Donenfeld <Jason@zx2c4.com> | 2018-09-16 18:49:19 +0200 |
commit | 32d2148835d28f5927daee2d1206c88ac343cfb3 (patch) | |
tree | 37ce4a7731b0a305f0c9b4b006d5f614d9dfe194 /send.go | |
parent | 5be541d147562bf87f6a9ebd551412d4a6920b4b (diff) |
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 'send.go')
0 files changed, 0 insertions, 0 deletions