diff options
-rw-r--r-- | bgpd/bgp_table.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/bgpd/bgp_table.c b/bgpd/bgp_table.c index 810dab54..5faf5856 100644 --- a/bgpd/bgp_table.c +++ b/bgpd/bgp_table.c @@ -368,6 +368,7 @@ bgp_node_delete (struct bgp_node *node) assert (node->lock == 0); assert (node->info == NULL); + assert (node->table->count > 0); if (node->l_left && node->l_right) return; |