only use SOCK_STREAM for TCP in bindany(), otherwise SOCK_DGRAM for UDP.
authorreyk <reyk@openbsd.org>
Wed, 9 Jul 2008 14:06:44 +0000 (14:06 +0000)
committerreyk <reyk@openbsd.org>
Wed, 9 Jul 2008 14:06:44 +0000 (14:06 +0000)
commit318e1f345a8b0ff340dfa75516c93244a5f93f97
treeb30e5b3675a0db1613222e3a6d054b92edfac949
parent26f19fd61808692f15012a515561d99796ccf4ac
only use SOCK_STREAM for TCP in bindany(), otherwise SOCK_DGRAM for UDP.
usr.sbin/relayd/relayd.c