Use non-blocking connect() to setup the RTR socket. connect() can hang for
authorclaudio <claudio@openbsd.org>
Tue, 11 May 2021 07:57:24 +0000 (07:57 +0000)
committerclaudio <claudio@openbsd.org>
Tue, 11 May 2021 07:57:24 +0000 (07:57 +0000)
commit571b47da68c908d6e41280e36f3e4e049be283a4
tree8b3e572b41a456025339f9948c4482d1e8e5b7fb
parenta27a937ff88f76e81c40eb348fbace389ba0d8e4
Use non-blocking connect() to setup the RTR socket. connect() can hang for
a long time if the IP is not reachable and would block the main process
while doing so.
Problem noticed by Pier Carlo Chiodi
OK benno@
usr.sbin/bgpd/bgpd.c