pfkey is unreliable, so add a select-timeout before MSG_PEEK;
authormarkus <markus@openbsd.org>
Mon, 5 May 2014 18:50:36 +0000 (18:50 +0000)
committermarkus <markus@openbsd.org>
Mon, 5 May 2014 18:50:36 +0000 (18:50 +0000)
commit3f3558dc779e518c0f4899f55b7551557e8e7820
treed4910478b62d3678684807256e536d345d3f0ec3
parente7e0ff11ef54730650821e620f023d443925dbea
pfkey is unreliable, so add a select-timeout before MSG_PEEK;
similar code is in isakmpd; ok reyk@
sbin/iked/pfkey.c