From 095a9530703a3239fa48da5ea4dd5354ba9aa92a Mon Sep 17 00:00:00 2001 From: Vratko Polak Date: Thu, 11 Apr 2024 16:06:29 +0200 Subject: [PATCH] sr: use correct reply to sr_policy_add_v2 Type: fix Fixes: c4c205b091934d96a173f4c0d75ef7e888298ac7 Change-Id: I110729601a9f19451297883b781ec56e2b31465b Signed-off-by: Vratko Polak (cherry picked from commit 3a05db6264a4b2edf1fc7e6c35ee3b688baa463a) --- src/vnet/srv6/sr_api.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/vnet/srv6/sr_api.c b/src/vnet/srv6/sr_api.c index 5594fed44f6..6a209dc7af9 100644 --- a/src/vnet/srv6/sr_api.c +++ b/src/vnet/srv6/sr_api.c @@ -163,7 +163,7 @@ vl_api_sr_policy_add_v2_t_handler (vl_api_sr_policy_add_v2_t *mp) mp->type, ntohl (mp->fib_table), mp->is_encap, 0, NULL); vec_free (segments); - REPLY_MACRO (VL_API_SR_POLICY_ADD_REPLY); + REPLY_MACRO (VL_API_SR_POLICY_ADD_V2_REPLY); } static void