1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-03 09:00:21 +00:00

ping: fix data type of a variable for a packet sequence number

Submitted by:	Ján Sučan <sucanjan@gmail.com>
MFC after:	2 weeks
Sponsored by:	Google, inc. (Google Summer of Code 2019)
Differential Revision:	https://reviews.freebsd.org/D21244
This commit is contained in:
Alan Somers 2019-08-13 16:25:23 +00:00
parent 354c349080
commit 2c29d74c4f
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=350994

View File

@ -1087,7 +1087,8 @@ pr_pack(char *buf, int cc, struct sockaddr_in *from, struct timeval *tv)
struct ip *ip;
const void *tp;
double triptime;
int dupflag, hlen, i, j, recv_len, seq;
int dupflag, hlen, i, j, recv_len;
uint16_t seq;
static int old_rrlen;
static char old_rr[MAX_IPOPTLEN];