svn commit: r269480 - stable/10/lib/libc/net

Pedro F. Giffuni pfg at FreeBSD.org
Sun Aug 3 18:03:00 UTC 2014


Author: pfg
Date: Sun Aug  3 18:03:00 2014
New Revision: 269480
URL: http://svnweb.freebsd.org/changeset/base/269480

Log:
  MFC	r268867,  r268878:
  
  Use more consistent type for optlen in getsourcefilter()
  
  Proposed by:	bde

Modified:
  stable/10/lib/libc/net/sourcefilter.c
Directory Properties:
  stable/10/   (props changed)

Modified: stable/10/lib/libc/net/sourcefilter.c
==============================================================================
--- stable/10/lib/libc/net/sourcefilter.c	Sun Aug  3 16:45:07 2014	(r269479)
+++ stable/10/lib/libc/net/sourcefilter.c	Sun Aug  3 18:03:00 2014	(r269480)
@@ -337,7 +337,8 @@ getsourcefilter(int s, uint32_t interfac
 {
 	struct __msfilterreq	 msfr;
 	sockunion_t		*psu;
-	int			 err, level, nsrcs, optlen, optname;
+	socklen_t		 optlen;
+	int			 err, level, nsrcs, optname;
 
 	if (interface == 0 || group == NULL || numsrc == NULL ||
 	    fmode == NULL) {


More information about the svn-src-all mailing list