isisd: purge on correct level
Signed-off-by: Christian Franke <chris@opensourcerouting.org>
Acked-by: Donald Sharp <sharpd@cumulusnetworks.com>
diff --git a/isisd/isis_pdu.c b/isisd/isis_pdu.c
index 0c3f57f..d2be27b 100644
--- a/isisd/isis_pdu.c
+++ b/isisd/isis_pdu.c
@@ -1557,7 +1557,7 @@
if (!lsp)
{
/* 7.3.16.4: initiate a purge */
- lsp_purge_non_exist (hdr, circuit->area);
+ lsp_purge_non_exist(level, hdr, circuit->area);
return ISIS_OK;
}
/* 7.3.15.1 d) - If this is our own lsp and we have it */