diff options
author | Hans Dedecker <dedeckeh@gmail.com> | 2017-11-21 14:48:14 +0100 |
---|---|---|
committer | Hans Dedecker <dedeckeh@gmail.com> | 2017-11-21 14:49:00 +0100 |
commit | 057342245c79fbec788ac9873a85de77d0c0a5b8 (patch) | |
tree | 91ec0b9f3dba49d4837b5ed428788f8ba08c3a33 /src | |
parent | fd80621fea5cafcdca3f7fe762fede374a66e4b2 (diff) |
ndp: add switch/case fallthrough comments
Fixes gcc 7 build errors
Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>
Diffstat (limited to 'src')
-rw-r--r-- | src/ndp.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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) { |