]> git.gsnw.org Git - fping.git/commit
test --print-tos with an IPv6 target
authorErik Auerswald <auerswal@unix-ag.uni-kl.de>
Sun, 28 Jul 2024 17:55:13 +0000 (19:55 +0200)
committerDavid Schweikert <david@schweikert.ch>
Thu, 1 Aug 2024 17:04:06 +0000 (19:04 +0200)
commit788a8dcf53ec858b29fbe820a9484a94e6e6b4a2
tree72b3a149c43523196ecd1840b98fa5c2638378d3
parent17fae97801b59caec8fe50588f2cc61cd99c22af
test --print-tos with an IPv6 target

Currently, --print-tos only works with IPv4.  In contrast
to IPv4, IPv6 raw sockets do not provide access to the
raw IP packet.  Thus the method used to access the TOS
byte value of an IPv4 packet does not work for the TC byte
value of an IPv6 packet.  This results in always generating
'(TOS unknown)' for IPv6 targets.
ci/test-08-options-n-q.pl