svn commit: r242326 - head/sys/netinet

Michael Tuexen tuexen at FreeBSD.org
Mon Oct 29 20:44:30 UTC 2012


Author: tuexen
Date: Mon Oct 29 20:44:29 2012
New Revision: 242326
URL: http://svn.freebsd.org/changeset/base/242326

Log:
  Add braces (as used elsewhere in the SCTP code).

Modified:
  head/sys/netinet/sctp_output.c

Modified: head/sys/netinet/sctp_output.c
==============================================================================
--- head/sys/netinet/sctp_output.c	Mon Oct 29 20:42:48 2012	(r242325)
+++ head/sys/netinet/sctp_output.c	Mon Oct 29 20:44:29 2012	(r242326)
@@ -3981,9 +3981,9 @@ sctp_lowlevel_chunk_output(struct sctp_i
 			}
 			if ((nofragment_flag) && (port == 0)) {
 				ip->ip_off = htons(IP_DF);
-			} else
+			} else {
 				ip->ip_off = htons(0);
-
+			}
 			/* FreeBSD has a function for ip_id's */
 			ip->ip_id = ip_newid();
 


More information about the svn-src-head mailing list