diff options
-rw-r--r-- | hicn-plugin/src/interest_hitcs_node.c | 2 | ||||
-rw-r--r-- | hicn-plugin/src/params.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/hicn-plugin/src/interest_hitcs_node.c b/hicn-plugin/src/interest_hitcs_node.c index af9db2863..14f512897 100644 --- a/hicn-plugin/src/interest_hitcs_node.c +++ b/hicn-plugin/src/interest_hitcs_node.c @@ -50,7 +50,7 @@ clone_from_cs (vlib_main_t * vm, u32 * bi0_cs, vlib_buffer_t * dest, u8 isv6) { clib_memcpy_fast (vlib_buffer_get_current (dest), vlib_buffer_get_current (cs_buf), - dest->current_length); + cs_buf->current_length); clib_memcpy_fast (dest->opaque2, cs_buf->opaque2, sizeof (cs_buf->opaque2)); diff --git a/hicn-plugin/src/params.h b/hicn-plugin/src/params.h index 1ca9ba08b..5e9d20ab7 100644 --- a/hicn-plugin/src/params.h +++ b/hicn-plugin/src/params.h @@ -91,7 +91,7 @@ STATIC_ASSERT ((HICN_PARAM_PIT_ENTRY_PHOPS_MAX <= HICN_PARAM_FACES_MAX), #define HICN_PARAM_CS_LIFETIME_MAX (24 * 3600 * 1000) //24 hours... /* CS reserved portion for applications */ -#define HICN_PARAM_CS_RESERVED_APP 30 //% +#define HICN_PARAM_CS_RESERVED_APP 50 //% /* Cloning parameters */ /* ip4 */ |