rtm_seq is int, so seq/myseq should be int.
Obtained from: KAME MFC after: 1 week
This commit is contained in:
parent
0d30357ff6
commit
3b24803f01
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=119085
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user