Skip to content

Commit

Permalink
bfdd: fix BFD_GETCBIT
Browse files Browse the repository at this point in the history
The macro should check C bit, not F bit.

Signed-off-by: Igor Ryzhov <[email protected]>
  • Loading branch information
idryzhov committed Apr 14, 2024
1 parent cc04847 commit d315382
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bfdd/bfd.h
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ struct bfd_echo_pkt {
if ((val)) \
flags |= val; \
}
#define BFD_GETCBIT(flags) (flags & BFD_FBIT)
#define BFD_GETCBIT(flags) (flags & BFD_CBIT)
#define BFD_ECHO_VERSION 1
#define BFD_ECHO_PKT_LEN sizeof(struct bfd_echo_pkt)

Expand Down

0 comments on commit d315382

Please sign in to comment.