summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVratko Polak <vrpolak@cisco.com>2019-08-21 18:40:03 +0200
committerDamjan Marion <dmarion@me.com>2019-09-24 21:00:00 +0000
commit54ff3fc834b9e97b77313501437260699e617e7c (patch)
treea678cf2d71fe682c9f9e9b6dc15aa8f56b0271bd
parent074b711f7ba0592ff6447e46c0e82f72d4f70bb5 (diff)
sr: fix sr_set_encap_source reply
Can we get a reply macro that would avoid such copypaste errors? Type: fix Change-Id: I753efb1d82fced668c27f2e44b0318bfd31c0a23 Signed-off-by: Vratko Polak <vrpolak@cisco.com> (cherry picked from commit 1096b46d9bfeb4f4c6c3bcd7b12b1d99c5da54a4)
-rw-r--r--src/vnet/srv6/sr_api.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vnet/srv6/sr_api.c b/src/vnet/srv6/sr_api.c
index 37a4fab4332..32eff2ef5e5 100644
--- a/src/vnet/srv6/sr_api.c
+++ b/src/vnet/srv6/sr_api.c
@@ -175,7 +175,7 @@ vl_api_sr_set_encap_source_t_handler (vl_api_sr_set_encap_source_t * mp)
int rv = 0;
sr_set_source ((ip6_address_t *) & mp->encaps_source);
- REPLY_MACRO (VL_API_SR_POLICY_DEL_REPLY);
+ REPLY_MACRO (VL_API_SR_SET_ENCAP_SOURCE_REPLY);
}
static void vl_api_sr_steering_add_del_t_handler