From owner-svn-src-all@FreeBSD.ORG Tue Jul 29 23:42:52 2014 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 628B8669; Tue, 29 Jul 2014 23:42:52 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 503CC2726; Tue, 29 Jul 2014 23:42:52 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.9/8.14.9) with ESMTP id s6TNgq5d039198; Tue, 29 Jul 2014 23:42:52 GMT (envelope-from hiren@svn.freebsd.org) Received: (from hiren@localhost) by svn.freebsd.org (8.14.9/8.14.9/Submit) id s6TNgqgN039197; Tue, 29 Jul 2014 23:42:52 GMT (envelope-from hiren@svn.freebsd.org) Message-Id: <201407292342.s6TNgqgN039197@svn.freebsd.org> From: Hiren Panchasara Date: Tue, 29 Jul 2014 23:42:52 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r269280 - head/sys/netinet X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 29 Jul 2014 23:42:52 -0000 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);