summaryrefslogtreecommitdiffstats
path: root/proto/ospf/neighbor.c
diff options
context:
space:
mode:
authorOndrej Filip <feela@network.cz>2001-08-11 16:01:54 +0200
committerOndrej Filip <feela@network.cz>2001-08-11 16:01:54 +0200
commit78e2c6ccf16b41bc19a4cd69f959c8ae47e68b9d (patch)
tree447e98707f9a409d70d240fb6f302cd2518b6a09 /proto/ospf/neighbor.c
parent5fc7c5c51344a8cc1fae2cc9077c2c331c1e419a (diff)
downloadbird-78e2c6ccf16b41bc19a4cd69f959c8ae47e68b9d.tar
bird-78e2c6ccf16b41bc19a4cd69f959c8ae47e68b9d.zip
I will not originate the same lsa before MINLSINTERVAL.
Diffstat (limited to 'proto/ospf/neighbor.c')
-rw-r--r--proto/ospf/neighbor.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/proto/ospf/neighbor.c b/proto/ospf/neighbor.c
index ca92e9d..cbb3e5e 100644
--- a/proto/ospf/neighbor.c
+++ b/proto/ospf/neighbor.c
@@ -58,14 +58,14 @@ neigh_chstate(struct ospf_neighbor *n, u8 state)
{
ifa->fadj--;
schedule_rt_lsa(ifa->oa);
- originate_net_lsa(ifa);
+ schedule_net_lsa(ifa);
}
if(state==NEIGHBOR_FULL) /* Increase number of adjacencies */
{
ifa->fadj++;
schedule_rt_lsa(ifa->oa);
- originate_net_lsa(ifa);
+ schedule_net_lsa(ifa);
}
if(oldstate>=NEIGHBOR_EXSTART && state<NEIGHBOR_EXSTART)
{