summaryrefslogtreecommitdiff
path: root/proto/bfd
diff options
context:
space:
mode:
authorOndrej Zajicek (work) <santiago@crfreenet.org>2019-07-11 15:36:42 +0200
committerOndrej Zajicek (work) <santiago@crfreenet.org>2019-07-11 15:44:05 +0200
commita92aee467e89473a9d07fa177794f5559f852b59 (patch)
tree45c9c2e1b990d59b3f0d92e8c1afc1030a256332 /proto/bfd
parent6b72ea4c14f87b2b738341e73c09e79eb138c477 (diff)
Avoid fallthrough warnings
Diffstat (limited to 'proto/bfd')
-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 129db72f..f577ed31 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: