summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOndrej Filip <feela@network.cz>2000-05-31 18:55:57 +0000
committerOndrej Filip <feela@network.cz>2000-05-31 18:55:57 +0000
commitb5958826cc5fc75b5f99c51559d1ffedea5884b4 (patch)
tree034aa844f61ed5378a41bfccf3be566c8211b3bf
parent3f6953a103b9a846625a0d51e30b6dc59eedc7f0 (diff)
Ehm, some other "down" steps.
-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 e7999e36..eb6d4641 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);