Merge pull request #9504 from donaldsharp/cbit_is_needed

lib: Send c-bit when not using bfdd as daemon of choice
This commit is contained in:
Russ White 2021-08-27 18:52:03 -04:00 committed by GitHub
commit 3d5af91264
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -366,6 +366,9 @@ int zclient_bfd_command(struct zclient *zc, struct bfd_session_arg *args)
if (args->ifnamelen)
stream_put(s, args->ifname, args->ifnamelen);
}
/* Send the C bit indicator. */
stream_putc(s, args->cbit);
#endif /* HAVE_BFDD */
/* Finish the message by writing the size. */