From 39c8c62ec4db3e9e034f9330069592dfa90c24eb Mon Sep 17 00:00:00 2001 From: Hiren Panchasara Date: Tue, 29 Jul 2014 23:42:51 +0000 Subject: [PATCH] Add a comment and while there, fix trailing whitespace. --- sys/netinet/in_pcb.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/sys/netinet/in_pcb.c b/sys/netinet/in_pcb.c index 97df1fd1ccd..1a5de4012cf 100644 --- a/sys/netinet/in_pcb.c +++ b/sys/netinet/in_pcb.c @@ -349,6 +349,9 @@ in_pcbbind(struct inpcb *inp, struct sockaddr *nam, struct ucred *cred) } #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 in_addr *laddrp, u_short *lportp, #ifdef INET if ((inp->inp_vflag & (INP_IPV4|INP_IPV6)) == INP_IPV4) laddrp->s_addr = laddr.s_addr; -#endif +#endif *lportp = lport; return (0);