diff options
Diffstat (limited to '')
-rw-r--r-- | bfdd/bfd.h | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -105,6 +105,8 @@ struct bfd_echo_pkt { #define BFD_CBIT 0x08 #define BFD_ABIT 0x04 #define BFD_DEMANDBIT 0x02 +#define BFD_MBIT 0x01 +#define BFD_GETMBIT(flags) (flags & BFD_MBIT) #define BFD_SETDEMANDBIT(flags, val) \ { \ if ((val)) \ @@ -133,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) |