summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorpfg <pfg@FreeBSD.org>2014-08-03 18:03:00 +0000
committerpfg <pfg@FreeBSD.org>2014-08-03 18:03:00 +0000
commiteabfc5bd75e50f98ad4963ab269825213771c398 (patch)
treed300714afbb5cec44da0d3ee51a5281e2f67f974
parent250620f917476b46c7a972494234cb6b9690bdfb (diff)
downloadFreeBSD-src-eabfc5bd75e50f98ad4963ab269825213771c398.zip
FreeBSD-src-eabfc5bd75e50f98ad4963ab269825213771c398.tar.gz
MFC r268867, r268878:
Use more consistent type for optlen in getsourcefilter() Proposed by: bde
-rw-r--r--lib/libc/net/sourcefilter.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/libc/net/sourcefilter.c b/lib/libc/net/sourcefilter.c
index 4d29d9f..cb64701 100644
--- a/lib/libc/net/sourcefilter.c
+++ b/lib/libc/net/sourcefilter.c
@@ -337,7 +337,8 @@ getsourcefilter(int s, uint32_t interface, struct sockaddr *group,
{
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) {
OpenPOWER on IntegriCloud