diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2014-01-04 22:21:54 +0100 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2014-01-04 22:21:54 +0100 |
commit | 78646a0eb8f5f9d41d6bcfd261b4717e1648ab5f (patch) | |
tree | 9bb8338369591ad084a8a3a1b19a9727b0d4c2e4 /package/traceroute/patches/patch-traceroute_mod-icmp_c | |
parent | bb9efd268326393ca769c38e6385216569e70e52 (diff) | |
parent | c0949bd08b50c985226dee3d1b3f63d1d067293e (diff) |
Merge branch 'master' of git+ssh://openadk.org/git/openadk
Diffstat (limited to 'package/traceroute/patches/patch-traceroute_mod-icmp_c')
-rw-r--r-- | package/traceroute/patches/patch-traceroute_mod-icmp_c | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/package/traceroute/patches/patch-traceroute_mod-icmp_c b/package/traceroute/patches/patch-traceroute_mod-icmp_c new file mode 100644 index 000000000..13852be0b --- /dev/null +++ b/package/traceroute/patches/patch-traceroute_mod-icmp_c @@ -0,0 +1,22 @@ +--- traceroute-2.0.19.orig/traceroute/mod-icmp.c 2011-08-18 17:12:00.000000000 +0200 ++++ traceroute-2.0.19/traceroute/mod-icmp.c 2013-12-29 20:01:35.000000000 +0100 +@@ -20,8 +20,8 @@ + + + static sockaddr_any dest_addr = {{ 0, }, }; +-static u_int16_t seq = 1; +-static u_int16_t ident = 0; ++static uint16_t seq = 1; ++static uint16_t ident = 0; + + static char *data; + static size_t *length_p; +@@ -173,7 +173,7 @@ static probe *icmp_check_reply (int sk, + char *buf, size_t len) { + int af = dest_addr.sa.sa_family; + int type; +- u_int16_t recv_id, recv_seq; ++ uint16_t recv_id, recv_seq; + probe *pb; + + |