summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--isisd/isis_spf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/isisd/isis_spf.c b/isisd/isis_spf.c
index 07b855b4..1cb51138 100644
--- a/isisd/isis_spf.c
+++ b/isisd/isis_spf.c
@@ -365,7 +365,7 @@ spftree_area_del (struct isis_area *area)
area->spftree[1] = NULL;
}
#ifdef HAVE_IPV6
- if (area->spftree[1] != NULL)
+ if (area->spftree6[1] != NULL)
{
isis_spftree_del (area->spftree6[1]);
area->spftree6[1] = NULL;