summaryrefslogtreecommitdiffstats
path: root/hicn-plugin/src/pcs.h
diff options
context:
space:
mode:
Diffstat (limited to 'hicn-plugin/src/pcs.h')
-rw-r--r--hicn-plugin/src/pcs.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/hicn-plugin/src/pcs.h b/hicn-plugin/src/pcs.h
index 3ce40c9a3..549edae01 100644
--- a/hicn-plugin/src/pcs.h
+++ b/hicn-plugin/src/pcs.h
@@ -581,7 +581,7 @@ hicn_pcs_cs_insert_update (vlib_main_t * vm, hicn_pit_cs_t * pitcs,
bucket_is_overflow);
/* A content already exists in CS with the same name */
- if (ret == HICN_ERROR_HASHTB_EXIST)
+ if (ret == HICN_ERROR_HASHTB_EXIST && *is_cs)
{
/* Update the entry */
hicn_hash_node_t *existing_node =