diff options
| author | 2020-03-22 08:59:22 +0000 | |
|---|---|---|
| committer | 2020-03-22 08:59:22 +0000 | |
| commit | 6dd7164b95e36b4693d4daa725805e6f4a9a7f5d (patch) | |
| tree | c1db63c34c126cae4f996edb7a1fd320f4592368 /sys/lib/libkern/scanc.c | |
| parent | zap trailing whitespace (diff) | |
| download | wireguard-openbsd-6dd7164b95e36b4693d4daa725805e6f4a9a7f5d.tar.xz wireguard-openbsd-6dd7164b95e36b4693d4daa725805e6f4a9a7f5d.zip | |
Fix agent address parsing:
- Allow IPv6 addresses to be used based on format.
- Allow IPv6 addresses without brackets skip the port if it results in a
nonsensical address. This allows us to use ::1
- Try to connect to the address immediately instead of only trying the
socket.
- Add pledge unix so we can actually create a unix socket.
Feedback, additional testing and OK jan@
Diffstat (limited to 'sys/lib/libkern/scanc.c')
0 files changed, 0 insertions, 0 deletions
