patch-traceroute_mod-icmp_c 611 B

12345678910111213141516171819202122
  1. --- traceroute-2.0.19.orig/traceroute/mod-icmp.c 2011-08-18 17:12:00.000000000 +0200
  2. +++ traceroute-2.0.19/traceroute/mod-icmp.c 2013-12-29 20:01:35.000000000 +0100
  3. @@ -20,8 +20,8 @@
  4. static sockaddr_any dest_addr = {{ 0, }, };
  5. -static u_int16_t seq = 1;
  6. -static u_int16_t ident = 0;
  7. +static uint16_t seq = 1;
  8. +static uint16_t ident = 0;
  9. static char *data;
  10. static size_t *length_p;
  11. @@ -173,7 +173,7 @@ static probe *icmp_check_reply (int sk,
  12. char *buf, size_t len) {
  13. int af = dest_addr.sa.sa_family;
  14. int type;
  15. - u_int16_t recv_id, recv_seq;
  16. + uint16_t recv_id, recv_seq;
  17. probe *pb;