summaryrefslogtreecommitdiffstats
path: root/src/vnet
diff options
context:
space:
mode:
authorwenxian li <wofanli@gmail.com>2017-06-04 13:52:07 +0000
committerChris Luke <chris_luke@comcast.com>2017-06-04 16:38:43 +0000
commit6e19b37757df334d58dbd6b7fa39f0e6e42f7d30 (patch)
treee7aeac34401c247bc4175d66e610d9a328966de4 /src/vnet
parent8c55b37a2220cc9dc2f16470b77059841d37aa46 (diff)
Fix typo for specifying table_id on ping.
Change-Id: I76d399915c76ec68d8a401e11c14dc15c55291e4 Signed-off-by: wenxian li <wofanli@gmail.com>
Diffstat (limited to 'src/vnet')
-rwxr-xr-xsrc/vnet/ip/ping.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vnet/ip/ping.c b/src/vnet/ip/ping.c
index 5d04b3d6798..c664772f6b4 100755
--- a/src/vnet/ip/ping.c
+++ b/src/vnet/ip/ping.c
@@ -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,