summaryrefslogtreecommitdiff
path: root/usr.sbin
diff options
context:
space:
mode:
authorJun-ichiro itojun Hagino <itojun@cvs.openbsd.org>2002-05-29 23:09:04 +0000
committerJun-ichiro itojun Hagino <itojun@cvs.openbsd.org>2002-05-29 23:09:04 +0000
commit0032facd76a29678d292fb4eb19a4b7800a3b3cf (patch)
treefaf0d0981233e507fc5efb7fabee73ec1740e66e /usr.sbin
parent463cba75940e8d0e067b310d6e927aba728372ad (diff)
rtm_seq is an int. from deraadt
Diffstat (limited to 'usr.sbin')
-rw-r--r--usr.sbin/route6d/route6d.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/usr.sbin/route6d/route6d.c b/usr.sbin/route6d/route6d.c
index 84e0d7fd983..91342d74632 100644
--- a/usr.sbin/route6d/route6d.c
+++ b/usr.sbin/route6d/route6d.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: route6d.c,v 1.27 2002/05/22 09:09:32 deraadt Exp $ */
+/* $OpenBSD: route6d.c,v 1.28 2002/05/29 23:09:03 itojun Exp $ */
/* $KAME: route6d.c,v 1.81 2002/02/25 02:27:22 itojun Exp $ */
/*
@@ -31,7 +31,7 @@
*/
#if 0
-static char _rcsid[] = "$OpenBSD: route6d.c,v 1.27 2002/05/22 09:09:32 deraadt Exp $";
+static char _rcsid[] = "$OpenBSD: route6d.c,v 1.28 2002/05/29 23:09:03 itojun Exp $";
#endif
#include <stdio.h>
@@ -195,7 +195,7 @@ FILE *rtlog = NULL;
int logopened = 0;
-static u_long seq = 0;
+static int seq = 0;
volatile sig_atomic_t seenalrm;
volatile sig_atomic_t seenquit;
@@ -2783,7 +2783,7 @@ getroute(np, gw)
struct in6_addr *gw;
{
u_char buf[BUFSIZ];
- u_long myseq;
+ int myseq;
int len;
struct rt_msghdr *rtm;
struct sockaddr_in6 *sin6;