summaryrefslogtreecommitdiffstats
path: root/sys/lib/libkern/scanc.c
diff options
context:
space:
mode:
authormartijn <martijn@openbsd.org>2020-03-22 08:59:22 +0000
committermartijn <martijn@openbsd.org>2020-03-22 08:59:22 +0000
commit6dd7164b95e36b4693d4daa725805e6f4a9a7f5d (patch)
treec1db63c34c126cae4f996edb7a1fd320f4592368 /sys/lib/libkern/scanc.c
parentzap trailing whitespace (diff)
downloadwireguard-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