summaryrefslogtreecommitdiffstats
path: root/proto/ospf/iface.c
diff options
context:
space:
mode:
authorOndrej Filip <feela@network.cz>2000-05-03 01:09:44 +0200
committerOndrej Filip <feela@network.cz>2000-05-03 01:09:44 +0200
commit0bf2f2039e1fc95fe0fa3ee231711212f1f2b128 (patch)
treecd34f6c0ff55622a9f0cebe318476d076deaa08c /proto/ospf/iface.c
parent92bbd812e332c9948d737e95526c571ff371d394 (diff)
downloadbird-0bf2f2039e1fc95fe0fa3ee231711212f1f2b128.tar
bird-0bf2f2039e1fc95fe0fa3ee231711212f1f2b128.zip
Originating of network LSA.
Diffstat (limited to 'proto/ospf/iface.c')
-rw-r--r--proto/ospf/iface.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/proto/ospf/iface.c b/proto/ospf/iface.c
index c7dfa2f..bce763e 100644
--- a/proto/ospf/iface.c
+++ b/proto/ospf/iface.c
@@ -111,7 +111,6 @@ ospf_int_sm(struct ospf_iface *ifa, int event)
if(ifa->state==OSPF_IS_WAITING)
{
bdr_election(ifa ,p);
- originate_rt_lsa(ifa->oa,po);
}
break;
case ISM_NEICH:
@@ -119,8 +118,8 @@ ospf_int_sm(struct ospf_iface *ifa, int event)
(ifa->state==OSPF_IS_BACKUP))
{
bdr_election(ifa ,p);
+ originate_rt_lsa(ifa->oa,po);
}
- originate_rt_lsa(ifa->oa,po);
break;
case ISM_DOWN:
iface_chstate(ifa, OSPF_IS_DOWN);