summaryrefslogtreecommitdiff
path: root/proto/bfd/packets.c
diff options
context:
space:
mode:
authorJan Maria Matejka <mq@ucw.cz>2018-09-18 14:21:11 +0200
committerJan Maria Matejka <mq@ucw.cz>2018-09-18 14:21:11 +0200
commitd4cebc6bbe2a55bd344383fcc27255a12d686195 (patch)
treed778709a80ad32d5688dc88f2d7639ac304df7df /proto/bfd/packets.c
parentd50b0bc437f5ffd0d2c9f843217f8ed098c8d675 (diff)
No more warnings ...
no more warnings No more warnings over me And while it is being compiled all the log is black and white Release BIRD now and then let it flee (use the melody of well-known Oh Freedom!)
Diffstat (limited to 'proto/bfd/packets.c')
-rw-r--r--proto/bfd/packets.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/proto/bfd/packets.c b/proto/bfd/packets.c
index b76efda6..6d5151ea 100644
--- a/proto/bfd/packets.c
+++ b/proto/bfd/packets.c
@@ -141,6 +141,7 @@ bfd_fill_authentication(struct bfd_proto *p, struct bfd_session *s, struct bfd_c
case BFD_AUTH_METICULOUS_KEYED_MD5:
case BFD_AUTH_METICULOUS_KEYED_SHA1:
meticulous = 1;
+ /* fallthrough */
case BFD_AUTH_KEYED_MD5:
case BFD_AUTH_KEYED_SHA1:
@@ -230,6 +231,7 @@ bfd_check_authentication(struct bfd_proto *p, struct bfd_session *s, struct bfd_
case BFD_AUTH_METICULOUS_KEYED_MD5:
case BFD_AUTH_METICULOUS_KEYED_SHA1:
meticulous = 1;
+ /* fallthrough */
case BFD_AUTH_KEYED_MD5:
case BFD_AUTH_KEYED_SHA1: