summaryrefslogtreecommitdiff
path: root/proto/ospf/iface.c
diff options
context:
space:
mode:
authorOndrej Filip <feela@network.cz>2000-09-04 21:21:34 +0000
committerOndrej Filip <feela@network.cz>2000-09-04 21:21:34 +0000
commit52fa3e386948b13b928ff9be778a7de62a00ceb3 (patch)
treeb4425e655feead48abe69b2c96dfb975c1af64f5 /proto/ospf/iface.c
parentb02e40111ea8d97bf1c3bfa25970ee0d828cd7bc (diff)
Fixed many bugs in rt calculation and interface adding. Now it seems to be
OK, I'm going to advertise 1.0.4.
Diffstat (limited to 'proto/ospf/iface.c')
-rw-r--r--proto/ospf/iface.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/proto/ospf/iface.c b/proto/ospf/iface.c
index 0c398626..9cd46929 100644
--- a/proto/ospf/iface.c
+++ b/proto/ospf/iface.c
@@ -173,7 +173,6 @@ ospf_int_sm(struct ospf_iface *ifa, int event)
restart_waittim(ifa);
}
}
- addifa_rtlsa(ifa);
}
schedule_rt_lsa(ifa->oa);
break;
@@ -403,6 +402,7 @@ ospf_if_notify(struct proto *p, unsigned flags, struct iface *iface)
lock->iface = iface;
lock->data = ifa;
lock->hook = ospf_ifa_add;
+ addifa_rtlsa(ifa);
olock_acquire(lock);
}
}