summaryrefslogtreecommitdiffstats
path: root/lib/libc
diff options
context:
space:
mode:
authorbluhm <bluhm@openbsd.org>2017-12-01 10:33:33 +0000
committerbluhm <bluhm@openbsd.org>2017-12-01 10:33:33 +0000
commit511f7f2b9e32699a40c156421e4e666b2b62108e (patch)
tree34c46270cbb88b70b59c1b85a8d862a77ea6ee3c /lib/libc
parentupdate currency exchange rates; (diff)
downloadwireguard-openbsd-511f7f2b9e32699a40c156421e4e666b2b62108e.tar.xz
wireguard-openbsd-511f7f2b9e32699a40c156421e4e666b2b62108e.zip
Simplify the reverse PCB lookup logic. The PF_TAG_TRANSLATE_LOCALHOST
security check prevents that the user accidentally configures redirect where a divert-to would be appropriate. Instead of spreading the logic into tcp and udp input, check the flag during PCB listen lookup. This also reduces parameters of in_pcblookup_listen(). OK visa@
Diffstat (limited to 'lib/libc')
0 files changed, 0 insertions, 0 deletions