mtr/mtr-0.71-ipv6-resolvehostname.patch

12 lines
350 B
Diff
Raw Normal View History

--- 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;