summaryrefslogtreecommitdiffstats
path: root/share/man
diff options
context:
space:
mode:
authorjsing <jsing@openbsd.org>2014-06-24 17:42:54 +0000
committerjsing <jsing@openbsd.org>2014-06-24 17:42:54 +0000
commit4463abb8fec17413bc617454f913355216b5437a (patch)
tree7a6bfe869fcd4afa485f9446320d37a3bacf7d96 /share/man
parentActually make BIO_set_tcp_ndelay() work - TCP_NODELAY will not magically (diff)
downloadwireguard-openbsd-4463abb8fec17413bc617454f913355216b5437a.tar.xz
wireguard-openbsd-4463abb8fec17413bc617454f913355216b5437a.zip
Replace 48 lines of code with a single inet_pton() call. The previous
handrolled version could not even make use of sscanf(), since that would not work with a certain antiquated compiler. It is worth noting that there is a tiny change in behaviour - previously calling BIO_get_host_ip() with something that looked like it might be a valid IP address (for example, "1." or even ".") would result in it returning failure rather than trying a BIO_gethostbyname() - now we'll always try a BIO_gethostbyname() if it was not a valid IPv4 address. ok beck@ miod@ deraadt@
Diffstat (limited to 'share/man')
0 files changed, 0 insertions, 0 deletions