summaryrefslogtreecommitdiffstats
path: root/usr.sbin/route6d
diff options
context:
space:
mode:
authorume <ume@FreeBSD.org>2003-08-18 16:20:30 +0000
committerume <ume@FreeBSD.org>2003-08-18 16:20:30 +0000
commit2e9f7d61519baeae29fca7f262d58e2abfebf1c6 (patch)
tree30b2c896ea160a27daa35d989a3465dd4faed253 /usr.sbin/route6d
parenta6ee67e21584eb4a644a096973a4597be4f03cc4 (diff)
downloadFreeBSD-src-2e9f7d61519baeae29fca7f262d58e2abfebf1c6.zip
FreeBSD-src-2e9f7d61519baeae29fca7f262d58e2abfebf1c6.tar.gz
rtm_seq is int, so seq/myseq should be int.
Obtained from: KAME MFC after: 1 week
Diffstat (limited to 'usr.sbin/route6d')
-rw-r--r--usr.sbin/route6d/route6d.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/route6d/route6d.c b/usr.sbin/route6d/route6d.c
index 06e6787..2bf0f1c 100644
--- a/usr.sbin/route6d/route6d.c
+++ b/usr.sbin/route6d/route6d.c
@@ -207,7 +207,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;
@@ -2842,7 +2842,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;
OpenPOWER on IntegriCloud