diff options
author | Florin Coras <fcoras@cisco.com> | 2021-07-22 14:03:11 -0700 |
---|---|---|
committer | Dave Barach <openvpp@barachs.net> | 2021-07-27 15:43:29 +0000 |
commit | 7743d6bde8fc674187835f4858f198454c162dd6 (patch) | |
tree | dbff0f12a5ce3eaebc97b269e136fdf19e6f3ebb /src/vnet/udp/udp_cli.c | |
parent | 603e1a415e4974e59ee952a9c7fb0db4e99fe1a3 (diff) |
udp: add option to disable icmp unreachables
Type: improvement
Signed-off-by: Florin Coras <fcoras@cisco.com>
Change-Id: I90c2a191ab34a2a7df3fb0a951e5fc78f40ccfe2
Diffstat (limited to 'src/vnet/udp/udp_cli.c')
-rw-r--r-- | src/vnet/udp/udp_cli.c | 2 |
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); |