From 2e9f7d61519baeae29fca7f262d58e2abfebf1c6 Mon Sep 17 00:00:00 2001 From: ume Date: Mon, 18 Aug 2003 16:20:30 +0000 Subject: 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(-) (limited to 'usr.sbin/route6d') 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; -- cgit v1.1