summaryrefslogtreecommitdiff
path: root/proto/ospf/iface.c
diff options
context:
space:
mode:
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);
}
}