diff options
author | Felix Fietkau <nbd@nbd.name> | 2017-05-04 15:51:53 +0200 |
---|---|---|
committer | Felix Fietkau <nbd@nbd.name> | 2017-05-04 15:51:54 +0200 |
commit | 0ef74ec9c86a35adcba042f4810ef6b53d7efaaf (patch) | |
tree | a3d4d14522b02c9c38c85582ab19d5598212d72b /src | |
parent | 9268ca65d6e000b6cd4ed72d4a8fa427dada6f06 (diff) |
ndp.c: add switch/case fallthrough comments
Fixes gcc 7 build errors
Signed-off-by: Felix Fietkau <nbd@nbd.name>
Diffstat (limited to 'src')
-rw-r--r-- | src/ndp.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -450,6 +450,7 @@ static int cb_rtnl_valid(struct nl_msg *msg, _unused void *arg) case RTM_NEWADDR: add = true; + /* fall through */ case RTM_DELADDR: { struct ifaddrmsg *ifa = nlmsg_data(hdr); struct nlattr *nla[__IFA_MAX]; @@ -490,6 +491,7 @@ static int cb_rtnl_valid(struct nl_msg *msg, _unused void *arg) case RTM_NEWNEIGH: add = true; + /* fall through */ case RTM_DELNEIGH: { struct ndmsg *ndm = nlmsg_data(hdr); struct nlattr *nla[__NDA_MAX]; |