svn commit: r350994 - head/sbin/ping

Alan Somers asomers at FreeBSD.org
Tue Aug 13 16:25:23 UTC 2019


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 at 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];
 


More information about the svn-src-all mailing list