diff options
author | stefanf <stefanf@FreeBSD.org> | 2005-08-05 09:58:49 +0000 |
---|---|---|
committer | stefanf <stefanf@FreeBSD.org> | 2005-08-05 09:58:49 +0000 |
commit | 364138732beb56b3891f2c0e6d9ee2ad14454362 (patch) | |
tree | dd77799943ac1dcef8d2551a6cd191b6c11ca1f0 /sbin/routed | |
parent | 404af3a8b5f464a6aeb8755af56a8d45142f5bd5 (diff) | |
download | FreeBSD-src-364138732beb56b3891f2c0e6d9ee2ad14454362.zip FreeBSD-src-364138732beb56b3891f2c0e6d9ee2ad14454362.tar.gz |
Use socklen_t where appropriate.
Diffstat (limited to 'sbin/routed')
-rw-r--r-- | sbin/routed/input.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sbin/routed/input.c b/sbin/routed/input.c index 085ba95..f655346 100644 --- a/sbin/routed/input.c +++ b/sbin/routed/input.c @@ -55,7 +55,8 @@ read_rip(int sock, { struct sockaddr_in from; struct interface *aifp; - int fromlen, cc; + socklen_t fromlen; + int cc; #ifdef USE_PASSIFNAME static struct msg_limit bad_name; struct { @@ -80,7 +81,7 @@ read_rip(int sock, } if (fromlen != sizeof(struct sockaddr_in)) logbad(1,"impossible recvfrom(rip) fromlen=%d", - fromlen); + (int)fromlen); /* aifp is the "authenticated" interface via which the packet * arrived. In fact, it is only the interface on which |