bug-inetutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug-inetutils] [PATCH] Failing traceroute on OpenBSD.


From: Mats Erik Andersson
Subject: [bug-inetutils] [PATCH] Failing traceroute on OpenBSD.
Date: Sat, 30 Oct 2010 23:45:39 +0200
User-agent: Mutt/1.5.18 (2008-05-17)

Hello all,

in OpenBSD the setsockopt(2) call with IPPROTO_IP and IP_TTL
will fail for any passed variable, except `int'.

The present code passes `unsigned char'. Thus is fails
on OpenBSD at execution time. The patch corrects all three
instances in the code. As a result GNU/Linux and OpenBSD
can now perform route tracing, using UDP as well as ICMP.


Best regards,

Mats

Attachment: 0001-src-traceroute.c-Pass-integer-values-to-IP_TTL-optio.patch
Description: Text Data

Attachment: signature.asc
Description: Digital signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]