summaryrefslogtreecommitdiffstats
path: root/usr.sbin/tokeninit/tokeninit.c
diff options
context:
space:
mode:
authorreyk <reyk@openbsd.org>2008-07-09 14:57:01 +0000
committerreyk <reyk@openbsd.org>2008-07-09 14:57:01 +0000
commitaeda6e0e43b63515b5227b200e510840f650a439 (patch)
treef6d9a969f4c2ea4cb6d7922c8ca10f2d2c601b27 /usr.sbin/tokeninit/tokeninit.c
parentonly use SOCK_STREAM for TCP in bindany(), otherwise SOCK_DGRAM for UDP. (diff)
downloadwireguard-openbsd-aeda6e0e43b63515b5227b200e510840f650a439.tar.xz
wireguard-openbsd-aeda6e0e43b63515b5227b200e510840f650a439.zip
also set the protocol, either TCP or UDP, in the NAT lookup. this
unbreaks NAT lookups with UDP; tested as a transparent DNS relay.
Diffstat (limited to 'usr.sbin/tokeninit/tokeninit.c')
0 files changed, 0 insertions, 0 deletions