or which are not marked RTF_DONE. Possible fix for bgpd exiting for
no obvious reason. Found with help from florian@
OK florian@
-/* $OpenBSD: kroute.c,v 1.256 2022/06/15 10:10:03 claudio Exp $ */
+/* $OpenBSD: kroute.c,v 1.257 2022/06/15 15:06:25 claudio Exp $ */
/*
* Copyright (c) 2022 Claudio Jeker <claudio@openbsd.org>
/* failed attempts */
if (rtm->rtm_errno || !(rtm->rtm_flags & RTF_DONE))
- return (-1);
+ continue;
if ((kt = ktable_get(rtm->rtm_tableid)) == NULL)
continue;