diff options
author | Ulrich Drepper <drepper@redhat.com> | 2006-11-21 15:41:41 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2006-11-21 15:41:41 +0000 |
commit | 854d11248e195d7f880c50dec439d71ad9095fae (patch) | |
tree | e5f2a6f902a6090e1552cde587640908d1a5e2c6 | |
parent | dfc99a56514db15abe8e00aface9cd2be831f447 (diff) | |
download | glibc-854d11248e195d7f880c50dec439d71ad9095fae.tar.gz glibc-854d11248e195d7f880c50dec439d71ad9095fae.tar.xz glibc-854d11248e195d7f880c50dec439d71ad9095fae.zip |
* resolv/mapv4v6addr.h (map_v4v6_address): Fix last change.
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | resolv/mapv4v6addr.h | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog index f4c0a0a6e2..c7cbba1993 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2006-10-21 Jakub Jelinek <jakub@redhat.com> + + * resolv/mapv4v6addr.h (map_v4v6_address): Fix last change. + 2006-11-20 Ulrich Drepper <drepper@redhat.com> * resolv/mapv4v6addr.h (map_v4v6_address): Optimize a bit. @@ -24,6 +28,7 @@ * po/nl.po: Update from translation team. * timezone/zdump.c: Redo fix for BZ #3137. + 2006-11-14 Jakub Jelinek <jakub@redhat.com> * nss/nss_files/files-alias.c (get_next_alias): Set line back 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++) |