diff options
author | Esben Norby <norby@cvs.openbsd.org> | 2005-05-27 08:44:44 +0000 |
---|---|---|
committer | Esben Norby <norby@cvs.openbsd.org> | 2005-05-27 08:44:44 +0000 |
commit | 5ae6cd1060db9ededd174ac3a42926ed709e8c1c (patch) | |
tree | a8fec0fbd218a8070b1efbbb49adc9b1705091ae /usr.sbin | |
parent | 283d2c3500519916d2f03acf73154346c74e83b2 (diff) |
When the neighbor at the other end of the virtual link goes to state
full, originate a new router LSA.
ok claudio@
Diffstat (limited to 'usr.sbin')
-rw-r--r-- | usr.sbin/ospfd/neighbor.c | 6 |
1 files changed, 5 insertions, 1 deletions
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 <claudio@openbsd.org> @@ -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); |