Code Review
/
vpp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
FIB path preference
[vpp.git]
/
src
/
vnet
/
ip
/
ping.c
diff --git
a/src/vnet/ip/ping.c
b/src/vnet/ip/ping.c
old mode 100644
(file)
new mode 100755
(executable)
index
4131bd7
..
c664772
--- 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"))
{
}
else if (unformat (input, "table-id"))
{
- if (!unformat (input, "
d
u", &table_id))
+ if (!unformat (input, "
%
u", &table_id))
{
error =
clib_error_return (0,
{
error =
clib_error_return (0,
@@
-835,7
+835,7
@@
ping_ip_address (vlib_main_t * vm,
run_ping_ip46_address (vm, table_id, ping_ip4 ? &a4 : NULL,
ping_ip6 ? &a6 : NULL, sw_if_index, ping_interval,
run_ping_ip46_address (vm, table_id, ping_ip4 ? &a4 : NULL,
ping_ip6 ? &a6 : NULL, sw_if_index, ping_interval,
- ping_repeat,
ping_burst, data_len
, verbose);
+ ping_repeat,
data_len, ping_burst
, verbose);
done:
return error;
}
done:
return error;
}
@@
-890,6
+890,7
@@
VLIB_CLI_COMMAND (ping_command, static) =
" [ipv4 <ip4-addr> | ipv6 <ip6-addr>] [source <interface>]"
" [size <pktsize>] [interval <sec>] [repeat <cnt>] [table-id <id>]"
" [verbose]",
" [ipv4 <ip4-addr> | ipv6 <ip6-addr>] [source <interface>]"
" [size <pktsize>] [interval <sec>] [repeat <cnt>] [table-id <id>]"
" [verbose]",
+ .is_mp_safe = 1,
};
/* *INDENT-ON* */
};
/* *INDENT-ON* */