]> git.proxmox.com Git - mirror_frr.git/blobdiff - ospfd/ospf_lsa.c
ospfd: handle type-7 routes
[mirror_frr.git] / ospfd / ospf_lsa.c
index 9e2dd7a4577bfed925a16b2ab16dd3bf0055dcfb..452a3ba3747e597b504905ca2c610853dc5190c4 100644 (file)
@@ -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;