ping6: 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/D21218
This commit is contained in:
Alan Somers 2019-08-13 15:30:29 +00:00
commit 5e9c6b7239

View File

@ -1304,7 +1304,7 @@ pinger(void)
struct iovec iov[2];
int i, cc;
struct icmp6_nodeinfo *nip;
int seq;
uint16_t seq;
if (npackets && ntransmitted >= npackets)
return(-1); /* no more transmission */