summaryrefslogtreecommitdiffstats
path: root/src/vnet/ipsec
diff options
context:
space:
mode:
authorGarvit <gvarshney@marvell.com>2024-08-26 12:13:10 +0530
committerFan Zhang <fanzhang.oss@gmail.com>2024-09-09 12:56:10 +0000
commit1f7d14c810900c476b7f32781414a2e903a90e07 (patch)
tree5a301441b95afab935c7ed9413e025493ffd2d00 /src/vnet/ipsec
parent460dee56e79d203e5ec75b9e8f7151e65fc55e45 (diff)
ipsec: remove redundant code in ipsec_tun_in trace
This patch removes redundant sa index value in format_ipsec_tun_protect_input_trace() as sa index value already added by format_ipsec4_tunnel_kv(). Type: fix Change-Id: I7834bda57ba0f7cfe5084b671f6f7da0749ba64d Signed-off-by: Garvit <gvarshney@marvell.com>
Diffstat (limited to 'src/vnet/ipsec')
-rw-r--r--src/vnet/ipsec/ipsec_tun_in.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/vnet/ipsec/ipsec_tun_in.c b/src/vnet/ipsec/ipsec_tun_in.c
index c82de3ebaff..3dde084cb24 100644
--- a/src/vnet/ipsec/ipsec_tun_in.c
+++ b/src/vnet/ipsec/ipsec_tun_in.c
@@ -60,8 +60,8 @@ format_ipsec_tun_protect_input_trace (u8 * s, va_list * args)
s = format (s, "IPSec: %U seq %u",
format_ipsec6_tunnel_kv, &t->kv6, t->seq);
else
- s = format (s, "IPSec: %U seq %u sa %d",
- format_ipsec4_tunnel_kv, &t->kv4, t->seq);
+ s =
+ format (s, "IPSec: %U seq %u", format_ipsec4_tunnel_kv, &t->kv4, t->seq);
return s;
}