svn commit: r202517 - head/sys/netinet

Randall Stewart rrs at FreeBSD.org
Sun Jan 17 19:21:51 UTC 2010


Author: rrs
Date: Sun Jan 17 19:21:50 2010
New Revision: 202517
URL: http://svn.freebsd.org/changeset/base/202517

Log:
  Remove another set of "leaked" ifdefs that somehow found
  their way into FreeBSD.

Modified:
  head/sys/netinet/sctp_output.c

Modified: head/sys/netinet/sctp_output.c
==============================================================================
--- head/sys/netinet/sctp_output.c	Sun Jan 17 19:17:16 2010	(r202516)
+++ head/sys/netinet/sctp_output.c	Sun Jan 17 19:21:50 2010	(r202517)
@@ -3490,11 +3490,7 @@ sctp_lowlevel_chunk_output(struct sctp_i
 			tos_value = inp->ip_inp.inp.inp_ip_tos;
 		}
 		if ((nofragment_flag) && (port == 0)) {
-#if defined(WITH_CONVERT_IP_OFF) || defined(__FreeBSD__) || defined(__APPLE__) || defined(__Userspace__)
 			ip->ip_off = IP_DF;
-#else
-			ip->ip_off = htons(IP_DF);
-#endif
 		} else
 			ip->ip_off = 0;
 


More information about the svn-src-head mailing list