The function rte_rib_insert() allows inserting 0/0 as a default route, but it is not correctly handled by the current tree code. For example lookups will never match the default route and tree traversal never finds this default route. Same bug probably exists in rte_rib6