From f61cd36ada81404bb0aada9ed76401603adcdee2 Mon Sep 17 00:00:00 2001 From: Jafar Al-Gharaibeh Date: Thu, 6 Apr 2023 14:55:03 -0500 Subject: [PATCH] ospfd: handle type-7 routes Signed-off-by: Jafar Al-Gharaibeh --- ospfd/ospf_lsa.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/ospfd/ospf_lsa.c b/ospfd/ospf_lsa.c index 9e2dd7a45..452a3ba37 100644 --- a/ospfd/ospf_lsa.c +++ b/ospfd/ospf_lsa.c @@ -1975,6 +1975,9 @@ static struct ospf_lsa *ospf_lsa_translated_nssa_new(struct ospf *ospf, ei.nexthop = ext->header.adv_router; ei.route_map_set.metric = -1; ei.route_map_set.metric_type = -1; + ei.metric = DEFAULT_DEFAULT_METRIC; + ei.max_metric = OSPF_LS_INFINITY; + ei.min_metric = 0; ei.tag = 0; ei.instance = 0; -- 2.39.2