From 057342245c79fbec788ac9873a85de77d0c0a5b8 Mon Sep 17 00:00:00 2001 From: Hans Dedecker Date: Tue, 21 Nov 2017 14:48:14 +0100 Subject: ndp: add switch/case fallthrough comments Fixes gcc 7 build errors Signed-off-by: Hans Dedecker --- src/ndp.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src') 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) { -- cgit v1.2.3