diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2013-12-30 11:24:18 +0100 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2013-12-30 11:24:18 +0100 |
commit | e6e5113cb91830bc97a778d98b3c551b25d8f5cb (patch) | |
tree | 15db28263e8e6196abc8b26be5762d392a598978 /package/traceroute/patches/patch-traceroute_mod-udp_c | |
parent | df30f7362b13fadf5a996e1303ba8488699a7ec6 (diff) |
fix musl compile
Diffstat (limited to 'package/traceroute/patches/patch-traceroute_mod-udp_c')
-rw-r--r-- | package/traceroute/patches/patch-traceroute_mod-udp_c | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/package/traceroute/patches/patch-traceroute_mod-udp_c b/package/traceroute/patches/patch-traceroute_mod-udp_c new file mode 100644 index 000000000..1fcbf8b2b --- /dev/null +++ b/package/traceroute/patches/patch-traceroute_mod-udp_c @@ -0,0 +1,20 @@ +--- traceroute-2.0.19.orig/traceroute/mod-udp.c 2010-12-14 16:51:44.000000000 +0100 ++++ traceroute-2.0.19/traceroute/mod-udp.c 2013-12-29 20:01:35.000000000 +0100 +@@ -71,7 +71,7 @@ static int udp_init (const sockaddr_any + dest_addr = *dest; + + if (!port_seq) port_seq = DEF_UDP_PORT; +- dest_addr.sin.sin_port = htons ((u_int16_t) port_seq); ++ dest_addr.sin.sin_port = htons ((uint16_t) port_seq); + + fill_data (packet_len_p); + +@@ -107,7 +107,7 @@ static int udplite_init (const sockaddr_ + dest_addr = *dest; + + if (!port_seq) port_seq = DEF_UDP_PORT; /* XXX: Hmmm... */ +- dest_addr.sin.sin_port = htons ((u_int16_t) port_seq); ++ dest_addr.sin.sin_port = htons ((uint16_t) port_seq); + + protocol = IPPROTO_UDPLITE; + |