diff options
author | 2019-01-10 14:49:07 +0000 | |
---|---|---|
committer | 2019-01-10 14:49:07 +0000 | |
commit | 51b3c07ddcfe773072026046929a43e7653440ba (patch) | |
tree | bdf1dc2792a9c5bee41ced0b0964569018409503 /lib/libc/stdlib/malloc.c | |
parent | Revert back previous commit and stop including strings.h (diff) | |
download | wireguard-openbsd-51b3c07ddcfe773072026046929a43e7653440ba.tar.xz wireguard-openbsd-51b3c07ddcfe773072026046929a43e7653440ba.zip |
"AF_* values are *almost* always the correct choice, particularly with
POSIX APIs".
Also sprach guenther@. So switch PF_ROUTE to AF_ROUTE in socket() and
setsockopt() calls. Keep PF_ROUTE in sysctl(2) uses. adding a comment
for future visitors,
Also replace PF_UNSPEC with 0 in socketpair(), as socketpair(2) points
out this is the only sensible value.
Cluebat from and ok guenther@
Diffstat (limited to 'lib/libc/stdlib/malloc.c')
0 files changed, 0 insertions, 0 deletions