diff options
| author | Igor Ryzhov <iryzhov@nfware.com> | 2021-11-04 15:11:18 +0300 |
|---|---|---|
| committer | Igor Ryzhov <iryzhov@nfware.com> | 2021-11-11 14:56:04 +0300 |
| commit | 92f85e656b0814181eb8a473e642b8989086339d (patch) | |
| tree | c109b33ff5bac16de33d9675ddac90d05d5f591e /lib/zclient.c | |
| parent | 0ac8055ca1a9662d6e8197dff9a91759331991e7 (diff) | |
lib: remove confusing bfd TTL API
There are two APIs to control the expected number of hops for a BFD
session – `bfd_sess_set_mininum_ttl` and `bfd_sess_set_hop_count`.
The former is very confusing, as it takes an expected TTL in the
BFD packet which is actually a protocol internal value. The latter is
simple and straightforward – it takes an expected number of hops, which
is always 1 for single-hop and >1 for multi-hop.
As the former API is not used anywhere, just remove it to avoid any
confusion.
Signed-off-by: Igor Ryzhov <iryzhov@nfware.com>
Diffstat (limited to 'lib/zclient.c')
0 files changed, 0 insertions, 0 deletions
