summaryrefslogtreecommitdiffstats
path: root/bfdd
diff options
context:
space:
mode:
Diffstat (limited to 'bfdd')
-rw-r--r--bfdd/bfd.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/bfdd/bfd.h b/bfdd/bfd.h
index 5451e66c2..be0326151 100644
--- a/bfdd/bfd.h
+++ b/bfdd/bfd.h
@@ -79,7 +79,7 @@ struct bfd_echo_pkt {
/* Macros for manipulating control packets */
-#define BFD_VERMASK 0x03
+#define BFD_VERMASK 0x07
#define BFD_DIAGMASK 0x1F
#define BFD_GETVER(diag) ((diag >> 5) & BFD_VERMASK)
#define BFD_SETVER(diag, val) ((diag) |= (val & BFD_VERMASK) << 5)