Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 13 Aug 2019 15:30:30 +0000 (UTC)
From:      Alan Somers <asomers@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r350987 - head/sbin/ping6
Message-ID:  <201908131530.x7DFUUHP099994@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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@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 */



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201908131530.x7DFUUHP099994>