X-Git-Url: https://git.saurik.com/apple/xnu.git/blobdiff_plain/cb3231590a3c94ab4375e2228bd5e86b0cf1ad7e..HEAD:/bsd/netinet6/ip6_forward.c diff --git a/bsd/netinet6/ip6_forward.c b/bsd/netinet6/ip6_forward.c index 57c44b85c..02cac6958 100644 --- a/bsd/netinet6/ip6_forward.c +++ b/bsd/netinet6/ip6_forward.c @@ -1,5 +1,5 @@ /* - * Copyright (c) 2009-2018 Apple Inc. All rights reserved. + * Copyright (c) 2009-2020 Apple Inc. All rights reserved. * * @APPLE_OSREFERENCE_LICENSE_HEADER_START@ * @@ -90,9 +90,7 @@ #if IPSEC #include -#if INET6 #include -#endif #include extern int ipsec_bypass; #endif /* IPSEC */ @@ -100,7 +98,6 @@ extern int ipsec_bypass; #include #if DUMMYNET -#include #include #endif /* DUMMYNET */ @@ -393,7 +390,7 @@ ip6_forward(struct mbuf *m, struct route_in6 *ip6forward_rt, break; default: printf("ip6_output (ipsec): error code %d\n", error); - /* fall through */ + OS_FALLTHROUGH; case ENOENT: /* don't show these error codes to the user */ break;