From: Hans Dedecker Date: Tue, 21 Nov 2017 13:48:14 +0000 (+0100) Subject: ndp: add switch/case fallthrough comments X-Git-Url: http://git.archive.openwrt.org/?p=project%2Fodhcpd.git;a=commitdiff_plain;h=057342245c79fbec788ac9873a85de77d0c0a5b8 ndp: add switch/case fallthrough comments Fixes gcc 7 build errors Signed-off-by: Hans Dedecker --- diff --git a/src/ndp.c b/src/ndp.c index a9dbd9a..d589066 100644 --- a/src/ndp.c +++ b/src/ndp.c @@ -178,11 +178,13 @@ static void ndp_netevent_cb(unsigned long event, struct netevent_handler_info *i case NETEV_ADDR6_DEL: add = false; netlink_dump_neigh_table(false); + /* fall through */ case NETEV_ADDR6_ADD: setup_addr_for_relaying(&info->addr.in6, iface, add); break; case NETEV_NEIGH6_DEL: add = false; + /* fall through */ case NETEV_NEIGH6_ADD: if (info->neigh.flags & NTF_PROXY) { if (add) {