diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /net-analyzer/nsat/files/nsat-1.5-amd64-compat.patch |
reinit the tree, so we can have metadata
Diffstat (limited to 'net-analyzer/nsat/files/nsat-1.5-amd64-compat.patch')
-rw-r--r-- | net-analyzer/nsat/files/nsat-1.5-amd64-compat.patch | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/net-analyzer/nsat/files/nsat-1.5-amd64-compat.patch b/net-analyzer/nsat/files/nsat-1.5-amd64-compat.patch new file mode 100644 index 000000000000..883ad26cdfaf --- /dev/null +++ b/net-analyzer/nsat/files/nsat-1.5-amd64-compat.patch @@ -0,0 +1,33 @@ +--- a/src/mod/xp_icmp_echo.c ++++ b/src/mod/xp_icmp_echo.c +@@ -90,7 +90,7 @@ + fprintf(stderr,"[%d bytes] sent, waiting for reponse.\n", res); + #endif + +- recv_pack = read_icmp(&res, ICMP_ECHOREPLY, -1); ++ recv_pack = read_icmp((ssize_t *)&res, ICMP_ECHOREPLY, -1); + + if (recv_pack == NULL || (unsigned)res < sizeof(ip) + 8) { + #ifdef EBUG +--- a/src/mod/xp_icmp_infr.c ++++ b/src/mod/xp_icmp_infr.c +@@ -83,7 +83,7 @@ + fprintf(stderr,"[%d bytes] sent, waiting for reponse.\n", res); + #endif + +- recv_pack = read_icmp(&res, ICMP_IREQREPLY, -1); ++ recv_pack = read_icmp((ssize_t *)&res, ICMP_IREQREPLY, -1); + + if (recv_pack == NULL || (unsigned)res < sizeof(ip) + 8) { + #ifdef EBUG +--- a/src/mod/xp_udp_probe.c ++++ b/src/mod/xp_udp_probe.c +@@ -92,7 +92,7 @@ + #ifdef EBUG + fprintf(stderr,"[%d bytes] sent, waiting for reponse.\n", res); + #endif +- recv_pack = read_icmp(&res, ICMP_UNREACH, -1); ++ recv_pack = read_icmp((ssize_t *)&res, ICMP_UNREACH, -1); + + if (recv_pack == NULL || (unsigned)res < sizeof(ip) + 8) { + #ifdef EBUG |