summaryrefslogtreecommitdiffstats
path: root/sbin/ping
diff options
context:
space:
mode:
authormdodd <mdodd@FreeBSD.org>2003-03-28 00:31:51 +0000
committermdodd <mdodd@FreeBSD.org>2003-03-28 00:31:51 +0000
commit53b1373a1fbd6afb2dec787d06a2af4455017eee (patch)
treede607ae3c736d1129db9d5257847e83dba31eef5 /sbin/ping
parent441ddbc3265c9c70d353b0ad8e8b600fb70fc9ef (diff)
downloadFreeBSD-src-53b1373a1fbd6afb2dec787d06a2af4455017eee.zip
FreeBSD-src-53b1373a1fbd6afb2dec787d06a2af4455017eee.tar.gz
Default data length should be 56, not 64.
Diffstat (limited to 'sbin/ping')
-rw-r--r--sbin/ping/ping.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sbin/ping/ping.c b/sbin/ping/ping.c
index d873048..0d41c92 100644
--- a/sbin/ping/ping.c
+++ b/sbin/ping/ping.c
@@ -100,7 +100,7 @@ static const char rcsid[] =
#define TIMEVAL_LEN ((int)sizeof(struct timeval))
#define MASK_LEN (ICMP_MASKLEN - ICMP_MINLEN)
#define TS_LEN (ICMP_TSLEN - ICMP_MINLEN)
-#define DEFDATALEN 64 /* default data length */
+#define DEFDATALEN 56 /* default data length */
#define FLOOD_BACKOFF 20000 /* usecs to back off if F_FLOOD mode */
/* runs out of buffer space */
#define MAXIPLEN (sizeof(struct ip) + MAX_IPOPTLEN)
OpenPOWER on IntegriCloud