Author: melifaro Date: Sun Jan 26 11:54:21 2020 New Revision: 357144 URL: https://svnweb.freebsd.org/changeset/base/357144
Log: Fix NOINET6 build after r357038. Reported by: AN <andy at neu.net> Modified: head/sys/netinet/ip_divert.c Modified: head/sys/netinet/ip_divert.c ============================================================================== --- head/sys/netinet/ip_divert.c Sun Jan 26 11:13:34 2020 (r357143) +++ head/sys/netinet/ip_divert.c Sun Jan 26 11:54:21 2020 (r357144) @@ -371,9 +371,11 @@ div_output(struct socket *so, struct mbuf *m, struct s case IPVERSION: family = AF_INET; break; +#ifdef INET6 case IPV6_VERSION >> 4: family = AF_INET6; break; +#endif default: m_freem(m); return (EAFNOSUPPORT); _______________________________________________ svn-src-head@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-head To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"