summaryrefslogtreecommitdiffstats
path: root/usr.bin/dig/lib/isc/buffer.c
diff options
context:
space:
mode:
authorclaudio <claudio@openbsd.org>2020-02-12 10:33:56 +0000
committerclaudio <claudio@openbsd.org>2020-02-12 10:33:56 +0000
commitbe6ced5ee5a1afe0142ea2666978906cb40b9169 (patch)
treeb231026225010b801a9fb149b967d04019d146fc /usr.bin/dig/lib/isc/buffer.c
parentPrevent double free in error path; pointed out by scan-build. (diff)
downloadwireguard-openbsd-be6ced5ee5a1afe0142ea2666978906cb40b9169.tar.xz
wireguard-openbsd-be6ced5ee5a1afe0142ea2666978906cb40b9169.zip
Move the code to figure out the alternate IP address (IPv6 addr for IPv4
sessions and vice versa) from the RDE to the SE. The SE is the right place for this since there getsockname(2) fetches the local address and so the alternate one can be fetched there as well. With this the route pledge is no longer needed in the RDE and the pledge is now just "stdio recvfd". OK benno@
Diffstat (limited to 'usr.bin/dig/lib/isc/buffer.c')
0 files changed, 0 insertions, 0 deletions