vpp-swan: removed adding the same rule in SPD 30/38130/2
authorGabriel Oginski <gabrielx.oginski@intel.com>
Fri, 3 Feb 2023 08:12:36 +0000 (08:12 +0000)
committerDave Wallace <dwallacelf@gmail.com>
Tue, 14 Feb 2023 01:20:34 +0000 (01:20 +0000)
commit8de66c090ef25977d8cc9c10084edbe146999c61
tree12667b9e024cdec9fc6255f99037d56fc716d48a
parent844a0e8b07010ccdd5af211b91d022aa8d43c934
vpp-swan: removed adding the same rule in SPD

The current implementation of vpp-swan plugin adds the same policy rule
in SPD twice, and it is not necessary to have two the same rules in
inbound-protect database.

This patch fixes an issue that prevents the addition of a second
identical policy rule in SPD.

Type: fix
Signed-off-by: Gabriel Oginski <gabrielx.oginski@intel.com>
Change-Id: Ieef74288e5301455658e4e101433147d6d2482e9
extras/strongswan/vpp_sswan/kernel_vpp_ipsec.c