diff --git a/src/conn_mux.c b/src/conn_mux.c index 4f464127..f8385be9 100644 --- a/src/conn_mux.c +++ b/src/conn_mux.c @@ -105,7 +105,7 @@ static int insert_map_entry(registry_impl_t *impl, const addr_record_t *record, return insert_map_entry(impl, record, agent); } - if (entry->type == MAP_ENTRY_TYPE_EMPTY) + if (entry->type != MAP_ENTRY_TYPE_FULL) ++impl->map_count; entry->type = MAP_ENTRY_TYPE_FULL;