diff options
author | 2017-12-01 10:33:33 +0000 | |
---|---|---|
committer | 2017-12-01 10:33:33 +0000 | |
commit | 511f7f2b9e32699a40c156421e4e666b2b62108e (patch) | |
tree | 34c46270cbb88b70b59c1b85a8d862a77ea6ee3c /lib/libc | |
parent | update currency exchange rates; (diff) | |
download | wireguard-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