summaryrefslogtreecommitdiffstats
path: root/nhrpd/nhrp_packet.c
diff options
context:
space:
mode:
authorDavid Lamparter <equinox@opensourcerouting.org>2017-07-14 16:48:01 +0200
committerDavid Lamparter <equinox@opensourcerouting.org>2017-07-14 16:59:43 +0200
commitacd738fc7f5a8ca637e691e45346d74a149b75c9 (patch)
tree62d1445b34e13fdfab132fa31cfb0ff9145b73ae /nhrpd/nhrp_packet.c
parentMerge pull request #803 from opensourcerouting/redhat-doc-fixes-master (diff)
downloadfrr-acd738fc7f5a8ca637e691e45346d74a149b75c9.tar.xz
frr-acd738fc7f5a8ca637e691e45346d74a149b75c9.zip
*: fix GCC 7 switch/case fallthrough warnings
Need a comment on these. Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
Diffstat (limited to 'nhrpd/nhrp_packet.c')
-rw-r--r--nhrpd/nhrp_packet.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/nhrpd/nhrp_packet.c b/nhrpd/nhrp_packet.c
index 76c5f1517..36281d517 100644
--- a/nhrpd/nhrp_packet.c
+++ b/nhrpd/nhrp_packet.c
@@ -244,6 +244,7 @@ int nhrp_ext_reply(struct zbuf *zb, struct nhrp_packet_header *hdr, struct inter
default:
if (type & NHRP_EXTENSION_FLAG_COMPULSORY)
goto err;
+ /* fallthru */
case NHRP_EXTENSION_FORWARD_TRANSIT_NHS:
case NHRP_EXTENSION_REVERSE_TRANSIT_NHS:
/* Supported compulsory extensions, and any