From 3b24803f0133ea283ab4b3739603180144c89e04 Mon Sep 17 00:00:00 2001 From: Hajimu UMEMOTO Date: Mon, 18 Aug 2003 16:20:30 +0000 Subject: [PATCH] rtm_seq is int, so seq/myseq should be int. Obtained from: KAME MFC after: 1 week --- usr.sbin/route6d/route6d.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/usr.sbin/route6d/route6d.c b/usr.sbin/route6d/route6d.c index 06e67877c2b5..2bf0f1c3e072 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;