Fix typo for specifying table_id on ping. 92/6992/2
authorwenxian li <wofanli@gmail.com>
Sun, 4 Jun 2017 13:52:07 +0000 (13:52 +0000)
committerChris Luke <chris_luke@comcast.com>
Sun, 4 Jun 2017 16:38:43 +0000 (16:38 +0000)
Change-Id: I76d399915c76ec68d8a401e11c14dc15c55291e4
Signed-off-by: wenxian li <wofanli@gmail.com>
src/vnet/ip/ping.c

index 5d04b3d..c664772 100755 (executable)
@@ -775,7 +775,7 @@ ping_ip_address (vlib_main_t * vm,
        }
       else if (unformat (input, "table-id"))
        {
-         if (!unformat (input, "du", &table_id))
+         if (!unformat (input, "%u", &table_id))
            {
              error =
                clib_error_return (0,