1
0
mirror of https://github.com/unrealircd/unrealircd.git synced 2026-06-12 17:34:46 +02:00

ahem! typo ;p... and a bad one... horrible resolverbug on ipv6 ;)

This commit is contained in:
Bram Matthys
2005-10-01 22:18:07 +00:00
parent 59e09d1672
commit af1c845d09
+1 -1
View File
@@ -2329,7 +2329,7 @@ const char *src = src_in;
memset(dst, 0, 10);
dst[10] = 0xff;
dst[11] = 0xff;
memcpy(dst, &src[12], 4);
memcpy(&dst[12], src, 4);
}
/** Transforms an IPv4-in-IPv6 mapped address to IPv4 (so ::ffff:a.b.c.d to a.b.c.d),