svn commit: r350987 - head/sbin/ping6

Alan Somers asomers at FreeBSD.org
Tue Aug 13 15:30:30 UTC 2019


Author: asomers
Date: Tue Aug 13 15:30:29 2019
New Revision: 350987
URL: https://svnweb.freebsd.org/changeset/base/350987

Log:
  ping6: Fix data type of a variable for a packet sequence number
  
  Submitted by:   Ján Sučan <sucanjan at gmail.com>
  MFC after:      2 weeks
  Sponsored by:   Google, inc. (Google Summer of Code 2019)
  Differential Revision:  https://reviews.freebsd.org/D21218

Modified:
  head/sbin/ping6/ping6.c
Directory Properties:
  head/   (props changed)

Modified: head/sbin/ping6/ping6.c
==============================================================================
--- head/sbin/ping6/ping6.c	Tue Aug 13 15:28:22 2019	(r350986)
+++ head/sbin/ping6/ping6.c	Tue Aug 13 15:30:29 2019	(r350987)
@@ -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 */


More information about the svn-src-all mailing list