diff options
Diffstat (limited to 'resolv')
-rw-r--r-- | resolv/mapv4v6addr.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/resolv/mapv4v6addr.h b/resolv/mapv4v6addr.h index a71a6cc1a7..7f85f7d5e3 100644 --- a/resolv/mapv4v6addr.h +++ b/resolv/mapv4v6addr.h @@ -59,7 +59,7 @@ map_v4v6_address (const char *src, char *dst) int i; /* Move the IPv4 part to the right position. */ - memcpy (src + 12, src, INADDRSZ); + memcpy (dst + 12, src, INADDRSZ); /* Mark this ipv6 addr as a mapped ipv4. */ for (i = 0; i < 10; i++) |