svn commit: r357144 - head/sys/netinet
Alexander V. Chernikov
melifaro at FreeBSD.org
Sun Jan 26 11:54:22 UTC 2020
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);
More information about the svn-src-all
mailing list