projects
/
project
/
odhcpd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fd80621
)
ndp: add switch/case fallthrough comments
author
Hans Dedecker
<dedeckeh@gmail.com>
Tue, 21 Nov 2017 13:48:14 +0000
(14:48 +0100)
committer
Hans Dedecker
<dedeckeh@gmail.com>
Tue, 21 Nov 2017 13:49:00 +0000
(14:49 +0100)
Fixes gcc 7 build errors
Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>
src/ndp.c
patch
|
blob
|
history
diff --git
a/src/ndp.c
b/src/ndp.c
index a9dbd9a635ce30214ad7697147254ce565874a4a..d58906620aa100f702e4955a444bf104ecdf6ab4 100644
(file)
--- 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) {