aboutsummaryrefslogtreecommitdiffstats
path: root/src/vnet/udp/udp_cli.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/vnet/udp/udp_cli.c')
-rw-r--r--src/vnet/udp/udp_cli.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/vnet/udp/udp_cli.c b/src/vnet/udp/udp_cli.c
index 09e3a8a3d7f..97760f4c4f8 100644
--- a/src/vnet/udp/udp_cli.c
+++ b/src/vnet/udp/udp_cli.c
@@ -100,6 +100,8 @@ udp_config_fn (vlib_main_t * vm, unformat_input_t * input)
{
if (unformat (input, "mtu %u", &tmp))
um->default_mtu = tmp;
+ else if (unformat (input, "icmp-unreachable-disabled"))
+ um->icmp_send_unreachable_disabled = 1;
else
return clib_error_return (0, "unknown input `%U'",
format_unformat_error, input);