mtr/mtr-0.71-ipv6-resolvehostname.patch
Marcela Mašláňová 1e86198c1b --- mtr-0.71/dns.c.mar 2006-07-03 07:53:28.000000000 +0200
mtr-0.71/dns.c 2006-07-03 07:52:26.000000000 +0200 @@ -1357,7 +1357,7 @@
    #ifdef ENABLE_IPV6 /* Returns an ip6.arpa character string. */ void
    addr2ip6arpa( ip_t * ip, char * buf ) {
- char * p = (char *) ip;
unsigned char * p = (unsigned char *) ip; char * b = buf; int i;
2006-07-03 06:31:07 +00:00

12 lines
350 B
Diff

--- mtr-0.71/dns.c.mar 2006-07-03 07:53:28.000000000 +0200
+++ mtr-0.71/dns.c 2006-07-03 07:52:26.000000000 +0200
@@ -1357,7 +1357,7 @@
#ifdef ENABLE_IPV6
/* Returns an ip6.arpa character string. */
void addr2ip6arpa( ip_t * ip, char * buf ) {
- char * p = (char *) ip;
+ unsigned char * p = (unsigned char *) ip;
char * b = buf;
int i;