summaryrefslogtreecommitdiff
path: root/proto/ospf/neighbor.c
diff options
context:
space:
mode:
authorOndrej Filip <feela@network.cz>2001-08-11 14:01:54 +0000
committerOndrej Filip <feela@network.cz>2001-08-11 14:01:54 +0000
commit78e2c6ccf16b41bc19a4cd69f959c8ae47e68b9d (patch)
tree447e98707f9a409d70d240fb6f302cd2518b6a09 /proto/ospf/neighbor.c
parent5fc7c5c51344a8cc1fae2cc9077c2c331c1e419a (diff)
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 ca92e9d6..cbb3e5e1 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)
{