diff options
author | Stuart Henderson <sthen@cvs.openbsd.org> | 2010-05-07 22:32:35 +0000 |
---|---|---|
committer | Stuart Henderson <sthen@cvs.openbsd.org> | 2010-05-07 22:32:35 +0000 |
commit | 106b8b9447a43515d4a8573f168c05882051680b (patch) | |
tree | c8ea14160a8ad53a5d0fd61faab765b8841c69a4 /usr.sbin | |
parent | 5e4503a818073d2999885c662671b8072117f0d9 (diff) |
When failing to form an adjacency, log the interface name as well
as the neighbour. ok claudio@
Diffstat (limited to 'usr.sbin')
-rw-r--r-- | usr.sbin/ospfd/neighbor.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.sbin/ospfd/neighbor.c b/usr.sbin/ospfd/neighbor.c index 41b9fde0f37..ad86602461b 100644 --- a/usr.sbin/ospfd/neighbor.c +++ b/usr.sbin/ospfd/neighbor.c @@ -1,4 +1,4 @@ -/* $OpenBSD: neighbor.c,v 1.40 2010/02/16 18:13:52 claudio Exp $ */ +/* $OpenBSD: neighbor.c,v 1.41 2010/05/07 22:32:34 sthen Exp $ */ /* * Copyright (c) 2005 Claudio Jeker <claudio@openbsd.org> @@ -431,8 +431,8 @@ nbr_adj_timer(int fd, short event, void *arg) 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)); + log_warnx("nbr_adj_timer: failed to form adjacency with %s " + "on interface %s", inet_ntoa(nbr->id), nbr->iface->name); nbr_fsm(nbr, NBR_EVT_ADJTMOUT); } } |