diff options
author | Jun-ichiro itojun Hagino <itojun@cvs.openbsd.org> | 2003-10-31 00:32:08 +0000 |
---|---|---|
committer | Jun-ichiro itojun Hagino <itojun@cvs.openbsd.org> | 2003-10-31 00:32:08 +0000 |
commit | ac843c2a4ff0b398580b042df86b9322d9354e74 (patch) | |
tree | 75a4e9afee27e6169a9abbdf9ece04ebdec7c4cc /usr.sbin/route6d/route6d.c | |
parent | 12ba42937618d5920e9c8e47b014294a1e020f52 (diff) |
need_trigger/idx should be u_int, not ssize_t. millert
Diffstat (limited to 'usr.sbin/route6d/route6d.c')
-rw-r--r-- | usr.sbin/route6d/route6d.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/usr.sbin/route6d/route6d.c b/usr.sbin/route6d/route6d.c index 9f91d69db2e..3886c103a1d 100644 --- a/usr.sbin/route6d/route6d.c +++ b/usr.sbin/route6d/route6d.c @@ -1,4 +1,4 @@ -/* $OpenBSD: route6d.c,v 1.39 2003/10/31 00:30:19 itojun Exp $ */ +/* $OpenBSD: route6d.c,v 1.40 2003/10/31 00:32:07 itojun Exp $ */ /* $KAME: route6d.c,v 1.94 2002/10/26 20:08:55 itojun Exp $ */ /* @@ -31,7 +31,7 @@ */ #if 0 -static char _rcsid[] = "$OpenBSD: route6d.c,v 1.39 2003/10/31 00:30:19 itojun Exp $"; +static char _rcsid[] = "$OpenBSD: route6d.c,v 1.40 2003/10/31 00:32:07 itojun Exp $"; #endif #include <stdio.h> @@ -1066,7 +1066,8 @@ riprecv(void) struct rip6 *rp; struct netinfo6 *np, *nq; struct riprt *rrt; - ssize_t len, nn, need_trigger, idx; + ssize_t len, nn; + unsigned int need_trigger, idx; char buf[4 * RIP6_MAXMTU]; time_t t; struct msghdr m; |