summaryrefslogtreecommitdiffstats
path: root/hicn-plugin
diff options
context:
space:
mode:
authorAlberto Compagno <acompagn+fdio@cisco.com>2019-06-07 23:32:08 +0200
committerAlberto Compagno <acompagn+fdio@cisco.com>2019-06-07 23:32:08 +0200
commit931d0da4e7baa76bf6c3107aa907c25cf1b04383 (patch)
treef8bb96137cc0e6c91b76f301c6a72985a5c63911 /hicn-plugin
parent34883ae53b4aa7be68d9750fa0f33fc7a5c8f17a (diff)
[HICN-216] Remove check on the invalid sequence number 0
Change-Id: I1434b5f15b4bb6f0a144512e92276a07676d53e8 Signed-off-by: Alberto Compagno <acompagn+fdio@cisco.com>
Diffstat (limited to 'hicn-plugin')
-rw-r--r--hicn-plugin/src/mapme_ack_node.c10
-rw-r--r--hicn-plugin/src/mapme_ctrl_node.c12
2 files changed, 11 insertions, 11 deletions
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), &params);