Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F107093923
D48231.id148485.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
398 B
Referenced Files
None
Subscribers
None
D48231.id148485.diff
View Options
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
Details
Attached
Mime Type
text/plain
Expires
Sat, Jan 11, 12:35 AM (8 h, 39 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
15633154
Default Alt Text
D48231.id148485.diff (398 B)
Attached To
Mode
D48231: ping: correct minimal payload size for the sweep ping
Attached
Detach File
Event Timeline
Log In to Comment