summaryrefslogtreecommitdiffstats
path: root/isisd/isis_lsp.c
diff options
context:
space:
mode:
authorChristian Franke <chris@opensourcerouting.org>2018-11-23 03:13:56 +0100
committerRodny Molina <rmolina@linkedin.com>2018-12-07 20:45:14 +0100
commit1eb7c3a19568c8e460b8147c9dcd91cf0b9feb21 (patch)
treec9215e4fdfeb83ea1e2264245aef29eb466ea088 /isisd/isis_lsp.c
parentisisd: Make lspid_print non-static (diff)
downloadfrr-1eb7c3a19568c8e460b8147c9dcd91cf0b9feb21.tar.xz
frr-1eb7c3a19568c8e460b8147c9dcd91cf0b9feb21.zip
fabricd: Add `show openfabric flooding` command
Add a command to show to what neighbors an LSP has been flooded. Signed-off-by: Christian Franke <chris@opensourcerouting.org>
Diffstat (limited to 'isisd/isis_lsp.c')
-rw-r--r--isisd/isis_lsp.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/isisd/isis_lsp.c b/isisd/isis_lsp.c
index b8640f34b..86d433cff 100644
--- a/isisd/isis_lsp.c
+++ b/isisd/isis_lsp.c
@@ -143,6 +143,8 @@ static void lsp_destroy(struct isis_lsp *lsp)
if (lsp->pdu)
stream_free(lsp->pdu);
+
+ fabricd_lsp_free(lsp);
XFREE(MTYPE_ISIS_LSP, lsp);
}
@@ -2011,7 +2013,7 @@ void _lsp_flood(struct isis_lsp *lsp, struct isis_circuit *circuit,
if (!fabricd)
lsp_set_all_srmflags(lsp, true);
else
- fabricd_lsp_flood(lsp);
+ fabricd_lsp_flood(lsp, circuit);
if (circuit)
isis_tx_queue_del(circuit->tx_queue, lsp);