Skip to content

Commit

Permalink
docs: adjust description for --print-tos
Browse files Browse the repository at this point in the history
Every IPv4 packet has a TOS byte.  Every IPv6 packet has a TC byte.
But fping can only read it when using raw sockets, and only for IPv4.
  • Loading branch information
auerswal committed Aug 24, 2024
1 parent d565df4 commit c0eb514
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion doc/fping.pod
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,8 @@ Set the typ of service flag (TOS). I<N> can be either decimal or hexadecimal

=item B<--print-tos>

Displays the TOS value in the output, if TOS is not present, "(TOS unknown)" is returned.
Displays the TOS value in the output. If B<fping> cannot read the TOS value,
"(TOS unknown)" is returned.
IPv4 only, requires root privileges or cap_net_raw.

=item B<-p>, B<--period>=I<MSEC>
Expand Down

0 comments on commit c0eb514

Please sign in to comment.