From 5ae6cd1060db9ededd174ac3a42926ed709e8c1c Mon Sep 17 00:00:00 2001 From: Esben Norby Date: Fri, 27 May 2005 08:44:44 +0000 Subject: When the neighbor at the other end of the virtual link goes to state full, originate a new router LSA. ok claudio@ --- usr.sbin/ospfd/neighbor.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'usr.sbin/ospfd') diff --git a/usr.sbin/ospfd/neighbor.c b/usr.sbin/ospfd/neighbor.c index 99f81f2160b..4a1d87563c0 100644 --- a/usr.sbin/ospfd/neighbor.c +++ b/usr.sbin/ospfd/neighbor.c @@ -1,4 +1,4 @@ -/* $OpenBSD: neighbor.c,v 1.21 2005/05/27 02:45:15 norby Exp $ */ +/* $OpenBSD: neighbor.c,v 1.22 2005/05/27 08:44:43 norby Exp $ */ /* * Copyright (c) 2005 Claudio Jeker @@ -217,6 +217,10 @@ nbr_fsm(struct nbr *nbr, enum nbr_event event) nbr_action_name(nbr_fsm_tbl[i].action), inet_ntoa(nbr->id), nbr_state_name(old_state), nbr_state_name(nbr->state)); + + if (nbr->iface->type == IF_TYPE_VIRTUALLINK) { + orig_rtr_lsa(nbr->iface->area); + } } return (ret); -- cgit v1.2.3