summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--proto/ospf/topology.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/proto/ospf/topology.c b/proto/ospf/topology.c
index 1d6b06e..9b2befb 100644
--- a/proto/ospf/topology.c
+++ b/proto/ospf/topology.c
@@ -309,6 +309,7 @@ originate_net_lsa(struct ospf_iface *ifa)
ifa->iface->name);
ifa->nlsa->lsa.sn += 1;
ifa->nlsa->lsa.age = LSA_MAXAGE;
+ lsasum_calculate(&ifa->nlsa->lsa, ifa->nlsa->lsa_body);
ospf_lsupd_flood(NULL, NULL, &ifa->nlsa->lsa, NULL, ifa->oa, 0);
s_rem_node(SNODE ifa->nlsa);
if (ifa->nlsa->lsa_body != NULL)