Page MenuHomeFreeBSD

ping: correct minimal payload size for the sweep ping
ClosedPublic

Authored by maxim on Dec 28 2024, 9:17 PM.
Tags
None
Referenced Files
Unknown Object (File)
May 31 2026, 7:26 AM
Unknown Object (File)
May 19 2026, 11:04 AM
Unknown Object (File)
May 15 2026, 6:54 PM
Unknown Object (File)
May 15 2026, 6:41 PM
Unknown Object (File)
May 15 2026, 6:20 PM
Unknown Object (File)
May 7 2026, 1:23 PM
Unknown Object (File)
May 6 2026, 12:22 PM
Unknown Object (File)
May 6 2026, 1:44 AM
Subscribers

Details

Summary

The -g flag specifies a minimal payload size for the sweep ping
and its default is zero. Make it possible to do ping -g 0 ...,
i.e., start with no payload.

Test Plan

no at the moment. However, I have some plans to take
a look at the current ping(8)'s tests.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable