summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbz <bz@FreeBSD.org>2008-08-24 18:29:22 +0000
committerbz <bz@FreeBSD.org>2008-08-24 18:29:22 +0000
commitd5dab91a99faeb35db8d15f41f3dc31a1ecbb131 (patch)
tree325cfdc9197469ce16e4e864c11fb75238d27efa
parentd190fff9e3a0bcea96124e4c5efbf91f93390648 (diff)
downloadFreeBSD-src-d5dab91a99faeb35db8d15f41f3dc31a1ecbb131.zip
FreeBSD-src-d5dab91a99faeb35db8d15f41f3dc31a1ecbb131.tar.gz
Make the kernel compile with SCTP and SCTP_DEBUG but
no INET6 defined.
-rw-r--r--sys/netinet/sctp_output.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/netinet/sctp_output.c b/sys/netinet/sctp_output.c
index 3c61c69..76ea5f3 100644
--- a/sys/netinet/sctp_output.c
+++ b/sys/netinet/sctp_output.c
@@ -11381,11 +11381,12 @@ sctp_send_operr_to(struct mbuf *m, int iphlen, struct mbuf *scm, uint32_t vtag,
struct ip *iph;
struct udphdr *udp = NULL;
struct mbuf *mout;
-
+#ifdef INET6
#ifdef SCTP_DEBUG
struct sockaddr_in6 lsa6, fsa6;
#endif
+#endif
uint32_t val;
struct mbuf *at;
int len;
OpenPOWER on IntegriCloud