summaryrefslogtreecommitdiffstats
path: root/src/vnet
diff options
context:
space:
mode:
authorDmitry Valter <d-valter@yandex-team.com>2023-09-21 17:46:26 +0000
committerFlorin Coras <florin.coras@gmail.com>2023-09-23 17:29:50 +0000
commit25801d6d2abee52dcafc8583b77d33d99a4bf313 (patch)
tree0a5a003a16d7115de38a970b87e873a9537f313d /src/vnet
parent00d7d86be7f032be6a9a088901e0bb7488210e72 (diff)
udp: fix udp encap tracing
Correct trace functions correspond with the encap type rather than with the payload type. Type: fix Signed-off-by: Dmitry Valter <d-valter@yandex-team.com> Change-Id: Iea1eb08a2ce9d147984ef604c7a39c62c7330e80
Diffstat (limited to 'src/vnet')
-rw-r--r--src/vnet/udp/udp_encap_node.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/vnet/udp/udp_encap_node.c b/src/vnet/udp/udp_encap_node.c
index 639ac23dfef..de281f6ca64 100644
--- a/src/vnet/udp/udp_encap_node.c
+++ b/src/vnet/udp/udp_encap_node.c
@@ -319,7 +319,7 @@ VLIB_REGISTER_NODE (udp4o4_encap_node) = {
VLIB_REGISTER_NODE (udp6o4_encap_node) = {
.name = "udp6o4-encap",
.vector_size = sizeof (u32),
- .format_trace = format_udp6_encap_trace,
+ .format_trace = format_udp4_encap_trace,
.n_next_nodes = 0,
.sibling_of = "udp4o4-encap",
};
@@ -342,7 +342,7 @@ VLIB_REGISTER_NODE (udp6o6_encap_node) = {
VLIB_REGISTER_NODE (udp4o6_encap_node) = {
.name = "udp4o6-encap",
.vector_size = sizeof (u32),
- .format_trace = format_udp4_encap_trace,
+ .format_trace = format_udp6_encap_trace,
.n_next_nodes = 0,
.sibling_of = "udp6o6-encap",
};