1 --- traceroute-2.0.19.orig/traceroute/traceroute.c 2012-11-19 17:12:04.000000000 +0100
2 +++ traceroute-2.0.19/traceroute/traceroute.c 2013-12-30 11:22:50.000000000 +0100
5 #include "traceroute.h"
8 +# define AI_IDN 0 /* GNU/libc extension */
12 +# define NI_IDN 0 /* GNU/libc extension */
15 #ifndef ICMP6_DST_UNREACH_BEYONDSCOPE
16 #ifdef ICMP6_DST_UNREACH_NOTNEIGHBOR
17 @@ -325,7 +332,7 @@ static void init_ip_options (void) {
18 rth->ip6r_type = ipv6_rthdr_type;
19 rth->ip6r_segleft = num_gateways;
21 - *((u_int32_t *) (rth + 1)) = 0;
22 + *((uint32_t *) (rth + 1)) = 0;
24 in6 = (struct in6_addr *) (rtbuf + 8);
25 for (i = 0; i < num_gateways; i++)
26 @@ -606,7 +613,7 @@ int main (int argc, char *argv[]) {
27 htonl (((tos & 0xff) << 20) | (flow_label & 0x000fffff));
30 - src_addr.sin.sin_port = htons ((u_int16_t) src_port);
31 + src_addr.sin.sin_port = htons ((uint16_t) src_port);
32 src_addr.sa.sa_family = af;