summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorHans Dedecker <dedeckeh@gmail.com>2017-11-21 14:48:14 +0100
committerHans Dedecker <dedeckeh@gmail.com>2017-11-21 14:49:00 +0100
commit057342245c79fbec788ac9873a85de77d0c0a5b8 (patch)
tree91ec0b9f3dba49d4837b5ed428788f8ba08c3a33
parentfd80621fea5cafcdca3f7fe762fede374a66e4b2 (diff)
ndp: add switch/case fallthrough comments
Fixes gcc 7 build errors Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>
-rw-r--r--src/ndp.c2
1 files changed, 2 insertions, 0 deletions
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) {