ip: force full reassembly before virtual
[vpp.git] / src / vnet / teib / teib_cli.c
index 226b412..a23902e 100644 (file)
@@ -40,10 +40,10 @@ teib_add (vlib_main_t * vm,
        ;
       else if (unformat (line_input, "peer %U", unformat_ip_address, &peer))
        ;
-      else if (unformat (line_input, "nh %U", unformat_ip_address, &nh))
-       ;
       else if (unformat (line_input, "nh-table-id %d", &nh_table_id))
        ;
+      else if (unformat (line_input, "nh %U", unformat_ip_address, &nh))
+       ;
       else
        {
          error = clib_error_return (0, "unknown input `%U'",
@@ -75,8 +75,7 @@ teib_add (vlib_main_t * vm,
 
   if (rv)
     {
-      error = clib_error_return_code (NULL, rv, 0,
-                                     "NRHP error",
+      error = clib_error_return_code (NULL, rv, 0, "TEIB error",
                                      format_unformat_error, line_input);
     }
 
@@ -141,8 +140,7 @@ teib_del (vlib_main_t * vm,
 
   if (rv)
     {
-      error = clib_error_return_code (NULL, rv, 0,
-                                     "NRHP error",
+      error = clib_error_return_code (NULL, rv, 0, "TEIB error",
                                      format_unformat_error, line_input);
     }