Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 13 Aug 2019 16:25:23 +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: r350994 - head/sbin/ping
Message-ID:  <201908131625.x7DGPNK9047390@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: asomers
Date: Tue Aug 13 16:25:23 2019
New Revision: 350994
URL: https://svnweb.freebsd.org/changeset/base/350994

Log:
  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

Modified:
  head/sbin/ping/ping.c

Modified: head/sbin/ping/ping.c
==============================================================================
--- head/sbin/ping/ping.c	Tue Aug 13 16:22:43 2019	(r350993)
+++ head/sbin/ping/ping.c	Tue Aug 13 16:25:23 2019	(r350994)
@@ -1087,7 +1087,8 @@ pr_pack(char *buf, int cc, struct sockaddr_in *from, s
 	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];
 



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