summaryrefslogtreecommitdiffstats
path: root/proto/ospf/iface.c
diff options
context:
space:
mode:
authorOndrej Zajicek <santiago@crfreenet.org>2009-12-11 00:31:56 +0100
committerOndrej Zajicek <santiago@crfreenet.org>2009-12-11 00:31:56 +0100
commitbe2d38b7e977c1f72ed9cd52f8e3e85130c0aaa1 (patch)
tree1b8aaa746eae4c3a5ca5902d0d7df2e254f6c72a /proto/ospf/iface.c
parent9807690b413f3a1d29d064761cc99ed5261cfb58 (diff)
downloadbird-be2d38b7e977c1f72ed9cd52f8e3e85130c0aaa1.tar
bird-be2d38b7e977c1f72ed9cd52f8e3e85130c0aaa1.zip
Temporary OSPFv3 commit.
Diffstat (limited to 'proto/ospf/iface.c')
-rw-r--r--proto/ospf/iface.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/proto/ospf/iface.c b/proto/ospf/iface.c
index e98414f..8db086e 100644
--- a/proto/ospf/iface.c
+++ b/proto/ospf/iface.c
@@ -263,6 +263,7 @@ ospf_iface_sm(struct ospf_iface *ifa, int event)
hello_timer_hook(ifa->hello_timer);
}
+ schedule_link_lsa(ifa);
schedule_rt_lsa(ifa->oa);
break;
case ISM_BACKS:
@@ -283,6 +284,7 @@ ospf_iface_sm(struct ospf_iface *ifa, int event)
case ISM_DOWN:
ospf_iface_chstate(ifa, OSPF_IS_DOWN);
ospf_iface_down(ifa);
+ schedule_link_lsa(ifa);
schedule_rt_lsa(oa);
break;
case ISM_LOOP: /* Useless? */
@@ -387,7 +389,6 @@ ospf_iface_add(struct object_lock *lock)
ifa->state = OSPF_IS_DOWN;
ospf_iface_sm(ifa, ISM_UP);
- schedule_link_lsa(ifa);
}
void