summaryrefslogtreecommitdiffstats
path: root/proto/ospf/iface.c
diff options
context:
space:
mode:
authorOndrej Filip <feela@network.cz>2000-05-31 20:55:57 +0200
committerOndrej Filip <feela@network.cz>2000-05-31 20:55:57 +0200
commitb5958826cc5fc75b5f99c51559d1ffedea5884b4 (patch)
tree034aa844f61ed5378a41bfccf3be566c8211b3bf /proto/ospf/iface.c
parent3f6953a103b9a846625a0d51e30b6dc59eedc7f0 (diff)
downloadbird-b5958826cc5fc75b5f99c51559d1ffedea5884b4.tar
bird-b5958826cc5fc75b5f99c51559d1ffedea5884b4.zip
Ehm, some other "down" steps.
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 e7999e3..eb6d464 100644
--- a/proto/ospf/iface.c
+++ b/proto/ospf/iface.c
@@ -107,6 +107,7 @@ ospf_int_sm(struct ospf_iface *ifa, int event)
{
struct proto *p=(struct proto *)(ifa->proto);
struct proto_ospf *po=ifa->proto;
+ struct ospf_area *oa=ifa->oa;
debug("%s: SM on iface %s. Event is \"%s\".\n",
p->name, ifa->iface->name, ospf_ism[event]);
@@ -156,7 +157,7 @@ ospf_int_sm(struct ospf_iface *ifa, int event)
case ISM_DOWN:
iface_chstate(ifa, OSPF_IS_DOWN);
downint(ifa);
- schedule_rt_lsa(ifa->oa);
+ schedule_rt_lsa(oa);
break;
case ISM_LOOP: /* Useless? */
iface_chstate(ifa, OSPF_IS_LOOP);