svn commit: r248014 - stable/8/sys/netinet

Michael Tuexen tuexen at FreeBSD.org
Fri Mar 8 01:14:23 UTC 2013


Author: tuexen
Date: Fri Mar  8 01:14:22 2013
New Revision: 248014
URL: http://svnweb.freebsd.org/changeset/base/248014

Log:
  MFC r244033:
  
  Get it compiling without INET and INET6 support (mainly userland stack).

Modified:
  stable/8/sys/netinet/sctp_output.c
Directory Properties:
  stable/8/sys/   (props changed)
  stable/8/sys/netinet/   (props changed)

Modified: stable/8/sys/netinet/sctp_output.c
==============================================================================
--- stable/8/sys/netinet/sctp_output.c	Fri Mar  8 01:12:40 2013	(r248013)
+++ stable/8/sys/netinet/sctp_output.c	Fri Mar  8 01:14:22 2013	(r248014)
@@ -4604,7 +4604,11 @@ sctp_send_initiate(struct sctp_inpcb *in
 	struct mbuf *m;
 	struct sctp_nets *net;
 	struct sctp_init_chunk *init;
+
+#if defined(INET) || defined(INET6)
 	struct sctp_supported_addr_param *sup_addr;
+
+#endif
 	struct sctp_adaptation_layer_indication *ali;
 	struct sctp_supported_chunk_types_param *pr_supported;
 	struct sctp_paramhdr *ph;


More information about the svn-src-stable-8 mailing list