svn commit: r350944 - projects/fuse2/sbin/ping6

Alan Somers asomers at FreeBSD.org
Mon Aug 12 19:14:12 UTC 2019


Author: asomers
Date: Mon Aug 12 19:14:11 2019
New Revision: 350944
URL: https://svnweb.freebsd.org/changeset/base/350944

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)
  Sponsored by:	The FreeBSD Foundation
  Differential Revision:	https://reviews.freebsd.org/D21218

Modified:
  projects/fuse2/sbin/ping6/ping6.c

Modified: projects/fuse2/sbin/ping6/ping6.c
==============================================================================
--- projects/fuse2/sbin/ping6/ping6.c	Mon Aug 12 18:59:20 2019	(r350943)
+++ projects/fuse2/sbin/ping6/ping6.c	Mon Aug 12 19:14:11 2019	(r350944)
@@ -1239,7 +1239,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-projects mailing list