aboutsummaryrefslogtreecommitdiff
path: root/resolv/mapv4v6addr.h
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2006-11-21 15:41:41 +0000
committerUlrich Drepper <drepper@redhat.com>2006-11-21 15:41:41 +0000
commit854d11248e195d7f880c50dec439d71ad9095fae (patch)
treee5f2a6f902a6090e1552cde587640908d1a5e2c6 /resolv/mapv4v6addr.h
parentdfc99a56514db15abe8e00aface9cd2be831f447 (diff)
downloadglibc-854d11248e195d7f880c50dec439d71ad9095fae.tar
glibc-854d11248e195d7f880c50dec439d71ad9095fae.tar.gz
glibc-854d11248e195d7f880c50dec439d71ad9095fae.tar.bz2
glibc-854d11248e195d7f880c50dec439d71ad9095fae.zip
* resolv/mapv4v6addr.h (map_v4v6_address): Fix last change.
Diffstat (limited to 'resolv/mapv4v6addr.h')
-rw-r--r--resolv/mapv4v6addr.h2
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++)