aboutsummaryrefslogtreecommitdiffstats
path: root/extras/strongswan/vpp_sswan/kernel_vpp_ipsec.c
diff options
context:
space:
mode:
authorGabriel Oginski <gabrielx.oginski@intel.com>2023-07-14 07:22:12 +0000
committerFan Zhang <fanzhang.oss@gmail.com>2023-07-19 02:38:00 +0000
commit0e1fe7ba86ccb0ab43a9a7452fe601abc23f16ce (patch)
treeb10dc9d8ea17f15398148f558ff20c9d10d3b723 /extras/strongswan/vpp_sswan/kernel_vpp_ipsec.c
parentefd2350d65f6d344c0dc5134a208fd8b57f14c33 (diff)
vpp-swan: change flow in function for add route
This patch addresses the issue when the list of available interfaces is not up to date. Due to this issue adding a new route fails and finally the connection is not established. Type: fix Signed-off-by: Gabriel Oginski <gabrielx.oginski@intel.com> Change-Id: I3a63c0dd99ebc28ea149b4b23867440937682761
Diffstat (limited to 'extras/strongswan/vpp_sswan/kernel_vpp_ipsec.c')
-rw-r--r--extras/strongswan/vpp_sswan/kernel_vpp_ipsec.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/extras/strongswan/vpp_sswan/kernel_vpp_ipsec.c b/extras/strongswan/vpp_sswan/kernel_vpp_ipsec.c
index a48bd573938..325a3d13c91 100644
--- a/extras/strongswan/vpp_sswan/kernel_vpp_ipsec.c
+++ b/extras/strongswan/vpp_sswan/kernel_vpp_ipsec.c
@@ -62,14 +62,6 @@
#define PRIO_BASE 384
-/**
- * Every 2 seconds, the thread responsible for collecting the available
- * interfaces will be executed.
- * Retrying 5 times every 1 second ensures that there is enough time to check
- * if the interface will be available.
- */
-#define N_RETRY_GET_IF 5
-
u32 natt_port;
/**