[PATCH 0/1] ping: Implement setting of hoplimit for IPv6, remove hack

Radoslav Kolev radoslav.kolev at suse.com
Thu May 22 14:59:51 UTC 2025


Setting the hoplimit (TTL) value for IPv6 was not implemented and the help
text commented out. A hack redefining IPV6_HOPLIMIT was removed and replaced
by using the new IPV6_RECVHOPLIMIT option to request receiving the hoplimit
instead. Since RFC 3542 was introduced more that 20 years ago hopefully all
OS/libc implementations have caugh up with this until now, but in case a 
problem with the above is found I can implement a fallback to the old values.

Radoslav Kolev (1):
  ping: Fix hop limit (TTL) handling for IPv6

 networking/ping.c | 17 ++++++++---------
 1 file changed, 8 insertions(+), 9 deletions(-)

-- 
2.49.0



More information about the busybox mailing list