summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSamvel Vartapetov <svartapetov@yandex-team.ru>2021-12-28 10:51:36 +0300
committerVladislav Grishenko <themiron@mail.ru>2024-03-03 01:12:14 +0500
commit7f5f21ebc4c2c81722c8e219b7107cc3aacc0052 (patch)
tree15196d7ef97ec527618c4959dd1cd2e75487d562
parent4f3da9c1f73043145f825491ef573f180af10fc9 (diff)
udp: fix ipv6 udp punt show
Type: fix Signed-off-by: Samvel Vartapetov <svartapetov@yandex-team.ru> Signed-off-by: Vladislav Grishenko <themiron@yandex-team.ru> Change-Id: I57cba1e724f851419c7dfdee896568fc7416feaf
-rw-r--r--src/vnet/udp/udp_cli.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vnet/udp/udp_cli.c b/src/vnet/udp/udp_cli.c
index 58bcbecc45a..f5a536cefe4 100644
--- a/src/vnet/udp/udp_cli.c
+++ b/src/vnet/udp/udp_cli.c
@@ -187,7 +187,7 @@ show_udp_punt_fn (vlib_main_t * vm, unformat_input_t * input,
u8 *s = NULL;
vec_foreach (port_info, um->dst_port_infos[UDP_IP6])
{
- if (udp_is_valid_dst_port (port_info->dst_port, 01))
+ if (udp_is_valid_dst_port (port_info->dst_port, 0))
{
s = format (s, (!s) ? "%d" : ", %d", port_info->dst_port);
}