From 931d0da4e7baa76bf6c3107aa907c25cf1b04383 Mon Sep 17 00:00:00 2001 From: Alberto Compagno Date: Fri, 7 Jun 2019 23:32:08 +0200 Subject: [HICN-216] Remove check on the invalid sequence number 0 Change-Id: I1434b5f15b4bb6f0a144512e92276a07676d53e8 Signed-off-by: Alberto Compagno --- hicn-plugin/src/mapme_ack_node.c | 10 +++++----- hicn-plugin/src/mapme_ctrl_node.c | 12 ++++++------ 2 files changed, 11 insertions(+), 11 deletions(-) (limited to 'hicn-plugin/src') diff --git a/hicn-plugin/src/mapme_ack_node.c b/hicn-plugin/src/mapme_ack_node.c index 21e177bb6..c2fb2b6ef 100644 --- a/hicn-plugin/src/mapme_ack_node.c +++ b/hicn-plugin/src/mapme_ack_node.c @@ -62,11 +62,11 @@ hicn_mapme_process_ack (vlib_main_t * vm, vlib_buffer_t * b, if (rc < 0) goto ERR_PARSE; - if (params.seq == INVALID_SEQ) - { - DEBUG ("Invalid sequence number found in IU"); - return true; - } + /* if (params.seq == INVALID_SEQ) */ + /* { */ + /* DEBUG ("Invalid sequence number found in IU"); */ + /* return true; */ + /* } */ dpo = fib_epm_lookup (&(prefix.name), prefix.len); if (!dpo) diff --git a/hicn-plugin/src/mapme_ctrl_node.c b/hicn-plugin/src/mapme_ctrl_node.c index 7e07045c2..ffc4255ed 100644 --- a/hicn-plugin/src/mapme_ctrl_node.c +++ b/hicn-plugin/src/mapme_ctrl_node.c @@ -90,13 +90,13 @@ hicn_mapme_process_ctrl (vlib_main_t * vm, vlib_buffer_t * b, vlib_cli_output (vm, "IU - type:%d seq:%d len:%d", params.type, params.seq, prefix.len); - if (params.seq == INVALID_SEQ) - { - vlib_log_warn (mapme_main.log_class, - "Invalid sequence number found in IU"); + /* if (params.seq == INVALID_SEQ) */ + /* { */ + /* vlib_log_warn (mapme_main.log_class, */ + /* "Invalid sequence number found in IU"); */ - return true; - } + /* return true; */ + /* } */ /* We forge the ACK which we be the packet forwarded by the node */ hicn_mapme_create_ack (vlib_buffer_get_current (b), ¶ms); -- cgit 1.2.3-korg