summaryrefslogtreecommitdiff
path: root/proto/ospf/packet.c
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/ospf/packet.c
parent6b72ea4c14f87b2b738341e73c09e79eb138c477 (diff)
Avoid fallthrough warnings
Diffstat (limited to 'proto/ospf/packet.c')
-rw-r--r--proto/ospf/packet.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/proto/ospf/packet.c b/proto/ospf/packet.c
index 6b6a97a4..ef843a22 100644
--- a/proto/ospf/packet.c
+++ b/proto/ospf/packet.c
@@ -56,6 +56,7 @@ ospf_pkt_finalize(struct ospf_iface *ifa, struct ospf_packet *pkt, uint *plen)
return;
}
strncpy(auth->password, pass->password, sizeof(auth->password));
+ /* fallthrough */
case OSPF_AUTH_NONE:
{