diff options
author | Klement Sekera <ksekera@cisco.com> | 2020-02-10 11:49:52 +0000 |
---|---|---|
committer | Dave Barach <openvpp@barachs.net> | 2020-02-17 12:49:46 +0000 |
commit | a316744bc5e003d0fa4c8aff82c619b300115f02 (patch) | |
tree | 49ef9c1b79483ac55db1e08c6be100c5ce343fee /src/vnet/bfd/bfd_api.c | |
parent | 00fdf53c7076d1bd0045439e73f0144d613eb09c (diff) |
bfd: use tw_timer_template instead of legacy wheel
Type: refactor
Change-Id: I04e71a64e676910dc4c6cbc1ab54ffb0c29aa5b9
Signed-off-by: Klement Sekera <ksekera@cisco.com>
Diffstat (limited to 'src/vnet/bfd/bfd_api.c')
-rw-r--r-- | src/vnet/bfd/bfd_api.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/vnet/bfd/bfd_api.c b/src/vnet/bfd/bfd_api.c index 50be675f3e2..cc28b0b6b55 100644 --- a/src/vnet/bfd/bfd_api.c +++ b/src/vnet/bfd/bfd_api.c @@ -225,7 +225,8 @@ vl_api_bfd_udp_session_set_flags_t_handler (vl_api_bfd_udp_session_set_flags_t BFD_UDP_API_PARAM_COMMON_CODE; - rv = bfd_udp_session_set_flags (BFD_UDP_API_PARAM_FROM_MP (mp), + rv = bfd_udp_session_set_flags (vlib_get_main (), + BFD_UDP_API_PARAM_FROM_MP (mp), clib_net_to_host_u32 (mp->flags) & IF_STATUS_API_FLAG_ADMIN_UP); |