Page MenuHomeFreeBSD

D48231.id.diff
No OneTemporary

D48231.id.diff

diff --git a/sbin/ping/ping.c b/sbin/ping/ping.c
--- a/sbin/ping/ping.c
+++ b/sbin/ping/ping.c
@@ -328,7 +328,7 @@
options |= F_SWEEP;
break;
case 'g': /* Minimum packet size for ping sweep */
- ltmp = strtonum(optarg, 1, INT_MAX, &errstr);
+ ltmp = strtonum(optarg, 0, INT_MAX, &errstr);
if (errstr != NULL) {
errx(EX_USAGE, "invalid packet size: `%s'",
optarg);

File Metadata

Mime Type
text/plain
Expires
Sat, Jan 11, 1:56 AM (10 h, 16 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
15633154
Default Alt Text
D48231.id.diff (398 B)

Event Timeline