aboutsummaryrefslogtreecommitdiffstats
path: root/cicn-plugin/cicn/cicn_face.c
diff options
context:
space:
mode:
Diffstat (limited to 'cicn-plugin/cicn/cicn_face.c')
-rw-r--r--cicn-plugin/cicn/cicn_face.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/cicn-plugin/cicn/cicn_face.c b/cicn-plugin/cicn/cicn_face.c
index 2bb90253..d8494ea0 100644
--- a/cicn-plugin/cicn/cicn_face.c
+++ b/cicn-plugin/cicn/cicn_face.c
@@ -94,9 +94,7 @@ cicn_face_db_add (uint32_t src_addr, uint16_t src_port,
goto done;
}
is_dpdk_driver = !strcmp (dev_class->name, "dpdk");
- cloning_supported =
- CICN_FEATURE_VPP_VLIB_CLONING ||
- (CICN_FEATURE_DPDK_RTEMBUF_CLONING && is_dpdk_driver);
+ cloning_supported = CICN_INFRA_CLONE_REPLICATION;
if (cicn_face_db.entry_count >= CICN_PARAM_FACES_MAX)
{