mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-07 09:22:03 +00:00
lib: Send c-bit when not using bfdd as daemon of choice
Commit: 4b983eef2c
Modified the zapi send receive of the c-bit to only
be under the HAVE_BFDD. If you are using ptm-bfd
then the decoder function still expects this to be
sent down. This commit puts this behavior back
Signed-off-by: Donald Sharp <sharpd@nvidia.com>
This commit is contained in:
parent
3e386e98b3
commit
4cc6d2cef6
@ -366,6 +366,9 @@ int zclient_bfd_command(struct zclient *zc, struct bfd_session_arg *args)
|
|||||||
if (args->ifnamelen)
|
if (args->ifnamelen)
|
||||||
stream_put(s, args->ifname, args->ifnamelen);
|
stream_put(s, args->ifname, args->ifnamelen);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* Send the C bit indicator. */
|
||||||
|
stream_putc(s, args->cbit);
|
||||||
#endif /* HAVE_BFDD */
|
#endif /* HAVE_BFDD */
|
||||||
|
|
||||||
/* Finish the message by writing the size. */
|
/* Finish the message by writing the size. */
|
||||||
|
Loading…
Reference in New Issue
Block a user