diff options
author | Klement Sekera <ksekera@cisco.com> | 2017-01-11 08:16:53 +0100 |
---|---|---|
committer | Damjan Marion <dmarion.lists@gmail.com> | 2017-01-11 19:49:31 +0000 |
commit | 10db26f7bfed97022734fb808bd56532fdda48c5 (patch) | |
tree | 7a9bd58b90229ebc0838bb1563dc40a7bd8ffc76 /src/vnet/bfd/bfd_api.h | |
parent | cab65ec86b6c04d7a4674312989b5be0c0e394a4 (diff) |
BFD: fix bfd_udp_add API
Fix reporting of bs_index in the return message. Enhance test suite
to cover this case.
Change-Id: I37d35b850818bc1a05abe67ca919c22aeac978b6
Signed-off-by: Klement Sekera <ksekera@cisco.com>
Diffstat (limited to 'src/vnet/bfd/bfd_api.h')
-rw-r--r-- | src/vnet/bfd/bfd_api.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/vnet/bfd/bfd_api.h b/src/vnet/bfd/bfd_api.h index cfcd04f3f50..a9bc5a1f40c 100644 --- a/src/vnet/bfd/bfd_api.h +++ b/src/vnet/bfd/bfd_api.h @@ -27,7 +27,8 @@ vnet_api_error_t bfd_udp_add_session (u32 sw_if_index, u32 desired_min_tx_us, u32 required_min_rx_us, u8 detect_mult, const ip46_address_t * local_addr, - const ip46_address_t * peer_addr); + const ip46_address_t * peer_addr, + u32 * bs_index); vnet_api_error_t bfd_udp_del_session (u32 sw_if_index, const ip46_address_t * local_addr, |