From d607c409b84e8dafbfc2d8e7b3701b9b9097e9c9 Mon Sep 17 00:00:00 2001 From: Renato Westphal Date: Mon, 10 Aug 2020 12:49:47 -0300 Subject: [PATCH] isisd: don't attach Adj-SIDs to pseudo-node LSPs No need to do this. Signed-off-by: Renato Westphal --- isisd/isis_lsp.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/isisd/isis_lsp.c b/isisd/isis_lsp.c index bf15163cbf..646f106bb0 100644 --- a/isisd/isis_lsp.c +++ b/isisd/isis_lsp.c @@ -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), -- 2.39.5