aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorVratko Polak <vrpolak@cisco.com>2019-08-21 18:40:03 +0200
committerDamjan Marion <dmarion@me.com>2019-08-22 10:24:53 +0000
commit1096b46d9bfeb4f4c6c3bcd7b12b1d99c5da54a4 (patch)
treeedf48f52907b902a683b78a0409279be40763ff1 /src
parent747b3d8b0e045edb166738ecde99dcc951212988 (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>
Diffstat (limited to 'src')
-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