diff options
author | pfg <pfg@FreeBSD.org> | 2014-08-03 18:03:00 +0000 |
---|---|---|
committer | pfg <pfg@FreeBSD.org> | 2014-08-03 18:03:00 +0000 |
commit | eabfc5bd75e50f98ad4963ab269825213771c398 (patch) | |
tree | d300714afbb5cec44da0d3ee51a5281e2f67f974 /lib | |
parent | 250620f917476b46c7a972494234cb6b9690bdfb (diff) | |
download | FreeBSD-src-eabfc5bd75e50f98ad4963ab269825213771c398.zip FreeBSD-src-eabfc5bd75e50f98ad4963ab269825213771c398.tar.gz |
MFC r268867, r268878:
Use more consistent type for optlen in getsourcefilter()
Proposed by: bde
Diffstat (limited to 'lib')
-rw-r--r-- | lib/libc/net/sourcefilter.c | 3 |
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) { |