aboutsummaryrefslogtreecommitdiffstats
path: root/src/vnet/ipsec
diff options
context:
space:
mode:
authorVratko Polak <vrpolak@cisco.com>2022-11-25 17:10:10 +0100
committerFan Zhang <fanzhang.oss@gmail.com>2022-11-29 10:49:36 +0000
commit520cde406797eb076591797fbf9978b959e6cf17 (patch)
tree2ab3133053b66810ca5e1642282560ca4f4c6054 /src/vnet/ipsec
parentd1c75063daf9466a7ef10beed9c9e58245d3380e (diff)
ipsec: use correct reply message
Type: fix Fixes: 815c6a4fbcbb636ce3b4dc98446ad205a30670a6 Ticket: VPP-2068 Change-Id: I42d678b0e28ac4d0b524dfc2dbd01bbad020cf24 Signed-off-by: Vratko Polak <vrpolak@cisco.com>
Diffstat (limited to 'src/vnet/ipsec')
-rw-r--r--src/vnet/ipsec/ipsec.api1
-rw-r--r--src/vnet/ipsec/ipsec_api.c2
2 files changed, 2 insertions, 1 deletions
diff --git a/src/vnet/ipsec/ipsec.api b/src/vnet/ipsec/ipsec.api
index 401564bd39b..56ad646d001 100644
--- a/src/vnet/ipsec/ipsec.api
+++ b/src/vnet/ipsec/ipsec.api
@@ -96,6 +96,7 @@ define ipsec_spd_entry_add_del_v2
*/
define ipsec_spd_entry_add_del_reply
{
+ option deprecated;
u32 context;
i32 retval;
u32 stat_index;
diff --git a/src/vnet/ipsec/ipsec_api.c b/src/vnet/ipsec/ipsec_api.c
index 767dc82dca7..378f493ec14 100644
--- a/src/vnet/ipsec/ipsec_api.c
+++ b/src/vnet/ipsec/ipsec_api.c
@@ -327,7 +327,7 @@ vl_api_ipsec_spd_entry_add_del_v2_t_handler (
goto out;
out:
- REPLY_MACRO2 (VL_API_IPSEC_SPD_ENTRY_ADD_DEL_REPLY,
+ REPLY_MACRO2 (VL_API_IPSEC_SPD_ENTRY_ADD_DEL_V2_REPLY,
({ rmp->stat_index = ntohl (stat_index); }));
}