summaryrefslogtreecommitdiffstats
path: root/sys/netinet/udp_usrreq.c
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>2004-11-04 07:14:03 +0000
committerphk <phk@FreeBSD.org>2004-11-04 07:14:03 +0000
commitf4e34013c855a37b69db5ce5c6c62f8369ff981b (patch)
tree26b2860e2bcd12062d0ef078ff23e9d0aff4553d /sys/netinet/udp_usrreq.c
parent8ed6cabf104e0d42dec4989ed194ff8df58304d1 (diff)
downloadFreeBSD-src-f4e34013c855a37b69db5ce5c6c62f8369ff981b.zip
FreeBSD-src-f4e34013c855a37b69db5ce5c6c62f8369ff981b.tar.gz
Hide udp_in6 behind #ifdef INET6
Diffstat (limited to 'sys/netinet/udp_usrreq.c')
-rw-r--r--sys/netinet/udp_usrreq.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/netinet/udp_usrreq.c b/sys/netinet/udp_usrreq.c
index d808f7b..b3af066 100644
--- a/sys/netinet/udp_usrreq.c
+++ b/sys/netinet/udp_usrreq.c
@@ -418,7 +418,9 @@ udp_append(last, ip, n, off, udp_in)
struct sockaddr *append_sa;
struct socket *so;
struct mbuf *opts = 0;
+#ifdef INET6
struct sockaddr_in6 udp_in6;
+#endif
INP_LOCK_ASSERT(last);
OpenPOWER on IntegriCloud