summaryrefslogtreecommitdiffstats
path: root/ldpd/interface.c
diff options
context:
space:
mode:
Diffstat (limited to 'ldpd/interface.c')
-rw-r--r--ldpd/interface.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/ldpd/interface.c b/ldpd/interface.c
index a18019c0c..bbcea9f55 100644
--- a/ldpd/interface.c
+++ b/ldpd/interface.c
@@ -103,6 +103,7 @@ ldpe_if_exit(struct iface *iface)
while ((if_addr = LIST_FIRST(&iface->addr_list)) != NULL) {
LIST_REMOVE(if_addr, entry);
+ assert(if_addr != LIST_FIRST(&iface->addr_list));
free(if_addr);
}
}