]> git.ipfire.org Git - thirdparty/lldpd.git/commitdiff
interface: fix this statement may fall through [-Wimplicit-fallthrough=] with gcc7
authorAlexis La Goutte <alexis.lagoutte@gmail.com>
Fri, 19 May 2017 15:32:06 +0000 (17:32 +0200)
committerVincent Bernat <vincent@bernat.im>
Fri, 19 May 2017 15:41:22 +0000 (17:41 +0200)
src/daemon/interfaces.c

index f0aacceaa6db52831c082390538d0c6005ebfa05..d004c70cfbf1c149619ae98f9cf591c4d57ac5da 100644 (file)
@@ -706,6 +706,7 @@ interfaces_send_helper(struct lldpd *cfg,
                                break;
                        }
                        /* Fallback to fixed value */
+                       /* FALL THROUGH */
                case LLDP_BOND_SLAVE_SRC_MAC_TYPE_FIXED:
                        memcpy(src_mac, arbitrary, ETHER_ADDR_LEN);
                        break;