[HICN-216] Remove check on the invalid sequence number 0 40/20040/1
authorAlberto Compagno <acompagn+fdio@cisco.com>
Fri, 7 Jun 2019 21:32:08 +0000 (23:32 +0200)
committerAlberto Compagno <acompagn+fdio@cisco.com>
Fri, 7 Jun 2019 21:32:08 +0000 (23:32 +0200)
Change-Id: I1434b5f15b4bb6f0a144512e92276a07676d53e8
Signed-off-by: Alberto Compagno <acompagn+fdio@cisco.com>
hicn-plugin/src/mapme_ack_node.c
hicn-plugin/src/mapme_ctrl_node.c

index 21e177b..c2fb2b6 100644 (file)
@@ -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)
index 7e07045..ffc4255 100644 (file)
@@ -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);