Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 29 Jul 2014 23:42:52 +0000 (UTC)
From:      Hiren Panchasara <hiren@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r269280 - head/sys/netinet
Message-ID:  <201407292342.s6TNgqgN039197@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: hiren
Date: Tue Jul 29 23:42:51 2014
New Revision: 269280
URL: http://svnweb.freebsd.org/changeset/base/269280

Log:
  Add a comment and while there, fix trailing whitespace.

Modified:
  head/sys/netinet/in_pcb.c

Modified: head/sys/netinet/in_pcb.c
==============================================================================
--- head/sys/netinet/in_pcb.c	Tue Jul 29 23:40:15 2014	(r269279)
+++ head/sys/netinet/in_pcb.c	Tue Jul 29 23:42:51 2014	(r269280)
@@ -349,6 +349,9 @@ in_pcbbind(struct inpcb *inp, struct soc
 }
 #endif
 
+/*
+ * Select a local port (number) to use.
+ */
 #if defined(INET) || defined(INET6)
 int
 in_pcb_lport(struct inpcb *inp, struct in_addr *laddrp, u_short *lportp,
@@ -462,7 +465,7 @@ in_pcb_lport(struct inpcb *inp, struct i
 #ifdef INET
 	if ((inp->inp_vflag & (INP_IPV4|INP_IPV6)) == INP_IPV4)
 		laddrp->s_addr = laddr.s_addr;
-#endif                 
+#endif
 	*lportp = lport;
 
 	return (0);



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201407292342.s6TNgqgN039197>