summaryrefslogtreecommitdiffstats
path: root/src/vnet/ipsec
diff options
context:
space:
mode:
authorMohsin Kazmi <sykazmi@cisco.com>2022-03-10 17:47:51 +0100
committerMohsin Kazmi <sykazmi@cisco.com>2022-03-10 17:48:44 +0100
commit562cfa407560fc8783d3b645c30cf01873a4d11e (patch)
tree88ee1cb44e39252feedb9e4d226c22d30cf5f64c /src/vnet/ipsec
parent6d95f8c983efc3da613cf591dc4070c3560a9d41 (diff)
ipsec: remove the redundant code
Type: refactor Change-Id: I0a40e22e1439e13ffdbcbd6fd7cad40c8178418c Signed-off-by: Mohsin Kazmi <sykazmi@cisco.com>
Diffstat (limited to 'src/vnet/ipsec')
-rw-r--r--src/vnet/ipsec/esp_encrypt.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/vnet/ipsec/esp_encrypt.c b/src/vnet/ipsec/esp_encrypt.c
index 7fa5ec98c29..9d3a835699f 100644
--- a/src/vnet/ipsec/esp_encrypt.c
+++ b/src/vnet/ipsec/esp_encrypt.c
@@ -1006,7 +1006,6 @@ esp_encrypt_inline (vlib_main_t *vm, vlib_node_runtime_t *node,
{
tr->sa_index = sa_index0;
tr->spi = sa0->spi;
- tr->spi = sa0->spi;
tr->seq = sa0->seq;
tr->sa_seq_hi = sa0->seq_hi;
tr->udp_encap = ipsec_sa_is_set_UDP_ENCAP (sa0);