summaryrefslogtreecommitdiffstats
path: root/src/plugins/nat/nat64_out2in.c
diff options
context:
space:
mode:
authorFilip Varga <fivarga@cisco.com>2019-11-05 14:14:08 +0100
committerOle Trøan <otroan@employees.org>2019-11-05 20:45:06 +0000
commit5854b43de4c04a7c52b0cf03cd548c9cac86c325 (patch)
tree6b45215b5e84376216f39f1482fb9c52a2cb587c /src/plugins/nat/nat64_out2in.c
parenta8e71c8981f039588a7ca94e6ab66b4ebac784a5 (diff)
nat: NAT udp counter & unit test fixes
Ticket: VPP-1798 Type: fix Change-Id: I42f02d5824575720e95b9fc99cfa864252221a82 Signed-off-by: Filip Varga <fivarga@cisco.com>
Diffstat (limited to 'src/plugins/nat/nat64_out2in.c')
-rw-r--r--src/plugins/nat/nat64_out2in.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/nat/nat64_out2in.c b/src/plugins/nat/nat64_out2in.c
index b62bbee6f49..e0dd407e0cf 100644
--- a/src/plugins/nat/nat64_out2in.c
+++ b/src/plugins/nat/nat64_out2in.c
@@ -561,7 +561,7 @@ VLIB_NODE_FN (nat64_out2in_node) (vlib_main_t * vm,
vlib_node_increment_counter (vm, nm->out2in_node_index,
NAT64_OUT2IN_ERROR_TCP_PACKETS, tcp_packets);
vlib_node_increment_counter (vm, nm->out2in_node_index,
- NAT64_OUT2IN_ERROR_UDP_PACKETS, tcp_packets);
+ NAT64_OUT2IN_ERROR_UDP_PACKETS, udp_packets);
vlib_node_increment_counter (vm, nm->out2in_node_index,
NAT64_OUT2IN_ERROR_ICMP_PACKETS, icmp_packets);
vlib_node_increment_counter (vm, nm->out2in_node_index,