]> git.puffer.fish Git - matthieu/frr.git/commitdiff
isisd: don't attach Adj-SIDs to pseudo-node LSPs
authorRenato Westphal <renato@opensourcerouting.org>
Mon, 10 Aug 2020 15:49:47 +0000 (12:49 -0300)
committerRenato Westphal <renato@opensourcerouting.org>
Tue, 11 Aug 2020 04:00:56 +0000 (01:00 -0300)
No need to do this.

Signed-off-by: Renato Westphal <renato@opensourcerouting.org>
isisd/isis_lsp.c

index bf15163cbf7b2a252828208c7922a4ef50b4bc18..646f106bb0356a7e431943f3b69e08c2a027deb8 100644 (file)
@@ -1537,7 +1537,7 @@ static void lsp_build_pseudo(struct isis_lsp *lsp, struct isis_circuit *circuit,
        }
        if (circuit->area->newmetric) {
                isis_tlvs_add_extended_reach(lsp->tlvs, ISIS_MT_IPV4_UNICAST,
-                                            ne_id, 0, circuit->ext);
+                                            ne_id, 0, NULL);
                lsp_debug(
                        "ISIS (%s): Adding %s.%02x as te-style neighbor (self)",
                        area->area_tag, sysid_print(ne_id),
@@ -1579,7 +1579,7 @@ static void lsp_build_pseudo(struct isis_lsp *lsp, struct isis_circuit *circuit,
                if (circuit->area->newmetric) {
                        isis_tlvs_add_extended_reach(lsp->tlvs,
                                                     ISIS_MT_IPV4_UNICAST,
-                                                    ne_id, 0, circuit->ext);
+                                                    ne_id, 0, NULL);
                        lsp_debug(
                                "ISIS (%s): Adding %s.%02x as te-style neighbor (peer)",
                                area->area_tag, sysid_print(ne_id),