Unbreak no-INET kernels after r223839 adding the needed #ifdef INET.

MFC after:	4 weeks
This commit is contained in:
bz 2011-07-14 13:44:48 +00:00
parent 0c59f27b41
commit bb2bbd7fa6

View File

@ -337,7 +337,9 @@ tcp_init(void)
TUNABLE_INT_FETCH("net.inet.tcp.soreceive_stream", &tcp_soreceive_stream);
if (tcp_soreceive_stream) {
#ifdef INET
tcp_usrreqs.pru_soreceive = soreceive_stream;
#endif
#ifdef INET6
tcp6_usrreqs.pru_soreceive = soreceive_stream;
#endif /* INET6 */