diff options
author | paul <paul> | 2006-05-15 10:42:24 +0000 |
---|---|---|
committer | paul <paul> | 2006-05-15 10:42:24 +0000 |
commit | b0b41b9c24e0ede27e2afee02a16ce7c5287b72e (patch) | |
tree | f6656d43c4fb4a92a441e7a2874b37588f7f0bb6 /ospf6d/ospf6_neighbor.c | |
parent | 38ce517e7c63d925b22c807e0c64b39d1c795497 (diff) | |
download | quagga-b0b41b9c24e0ede27e2afee02a16ce7c5287b72e.tar.bz2 quagga-b0b41b9c24e0ede27e2afee02a16ce7c5287b72e.tar.xz |
[ospf6d] GNU Zebra 3560: Call ospf6_maxage_remove when out of Exchange/Loading
2005-10-20 Yasuhiro Ohara <yasu@sfc.wide.ad.jp>
* ospf6_neighbor.c: add the calling of ospf6_maxage_remove ()
when the neighbor went out of Exchange/Loading.
Diffstat (limited to 'ospf6d/ospf6_neighbor.c')
-rw-r--r-- | ospf6d/ospf6_neighbor.c | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/ospf6d/ospf6_neighbor.c b/ospf6d/ospf6_neighbor.c index dd46ebc7..b0db345a 100644 --- a/ospf6d/ospf6_neighbor.c +++ b/ospf6d/ospf6_neighbor.c @@ -175,20 +175,11 @@ ospf6_neighbor_state_change (u_char next_state, struct ospf6_neighbor *on) OSPF6_INTRA_PREFIX_LSA_SCHEDULE_STUB (on->ospf6_if->area); } -#ifdef XXX - if (prev_state == NBS_FULL || next_state == NBS_FULL) - nbs_full_change (on->ospf6_interface); - - /* check for LSAs that already reached MaxAge */ if ((prev_state == OSPF6_NEIGHBOR_EXCHANGE || prev_state == OSPF6_NEIGHBOR_LOADING) && (next_state != OSPF6_NEIGHBOR_EXCHANGE && next_state != OSPF6_NEIGHBOR_LOADING)) - { - ospf6_maxage_remover (); - } -#endif /*XXX*/ - + ospf6_maxage_remove (on->ospf6_if->area->ospf6); } /* RFC2328 section 10.4 */ |