summaryrefslogtreecommitdiff
path: root/package/traceroute/patches/patch-traceroute_mod-udp_c
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2014-01-04 22:21:54 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2014-01-04 22:21:54 +0100
commit78646a0eb8f5f9d41d6bcfd261b4717e1648ab5f (patch)
tree9bb8338369591ad084a8a3a1b19a9727b0d4c2e4 /package/traceroute/patches/patch-traceroute_mod-udp_c
parentbb9efd268326393ca769c38e6385216569e70e52 (diff)
parentc0949bd08b50c985226dee3d1b3f63d1d067293e (diff)
Merge branch 'master' of git+ssh://openadk.org/git/openadk
Diffstat (limited to 'package/traceroute/patches/patch-traceroute_mod-udp_c')
-rw-r--r--package/traceroute/patches/patch-traceroute_mod-udp_c20
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;
+