diff options
author | kan <kan@FreeBSD.org> | 2006-09-21 02:01:46 +0000 |
---|---|---|
committer | kan <kan@FreeBSD.org> | 2006-09-21 02:01:46 +0000 |
commit | 06378b342efeeda330b529290176e18d35b683c8 (patch) | |
tree | 067849566294a8420a480e83cec0e1f47f643a48 /usr.sbin/IPXrouted | |
parent | 8c74632d44dc29a42301e992df2819275d38337f (diff) | |
download | FreeBSD-src-06378b342efeeda330b529290176e18d35b683c8.zip FreeBSD-src-06378b342efeeda330b529290176e18d35b683c8.tar.gz |
Do not use int where socklen_t is expected.
Diffstat (limited to 'usr.sbin/IPXrouted')
-rw-r--r-- | usr.sbin/IPXrouted/main.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.sbin/IPXrouted/main.c b/usr.sbin/IPXrouted/main.c index 8c84161..773410a 100644 --- a/usr.sbin/IPXrouted/main.c +++ b/usr.sbin/IPXrouted/main.c @@ -276,7 +276,8 @@ process(fd, pkt_type) int pkt_type; { struct sockaddr from; - int fromlen = sizeof (from), cc, omask; + int cc, omask; + socklen_t fromlen = sizeof (from); struct ipx *ipxdp = (struct ipx *)packet; cc = recvfrom(fd, packet, sizeof (packet), 0, &from, &fromlen); |