diff options
-rw-r--r-- | usr.sbin/ospfd/neighbor.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/usr.sbin/ospfd/neighbor.c b/usr.sbin/ospfd/neighbor.c index a84dbab2236..da9755dcea4 100644 --- a/usr.sbin/ospfd/neighbor.c +++ b/usr.sbin/ospfd/neighbor.c @@ -1,4 +1,4 @@ -/* $OpenBSD: neighbor.c,v 1.28 2006/02/19 18:55:47 norby Exp $ */ +/* $OpenBSD: neighbor.c,v 1.29 2006/02/19 19:23:17 norby Exp $ */ /* * Copyright (c) 2005 Claudio Jeker <claudio@openbsd.org> @@ -407,6 +407,9 @@ nbr_adj_timer(int fd, short event, void *arg) { struct nbr *nbr = arg; + if (nbr->state == NBR_STA_2_WAY) + return ; + if (nbr->state & NBR_STA_ACTIVE && nbr->state != NBR_STA_FULL) { log_warnx("nbr_adj_timer: failed to form adjacency with %s", inet_ntoa(nbr->id)); |