diff options
author | Vickenty Fesunov <kent@comintern.ru> | 2006-11-13 14:48:02 -0800 |
---|---|---|
committer | Alan Coopersmith <alan.coopersmith@sun.com> | 2006-11-13 14:48:02 -0800 |
commit | 623dacd509bd6c0c1f0c2c424933818ff34788ca (patch) | |
tree | ad062e6c621cc50281d4812c8005ed69ceeb6b47 | |
parent | 37f9293e3cc00411d8d335ce729d18995bb9ce59 (diff) |
Bug 8995: Copying address into in6_addr instead of in6_addr.sin6_addr in forward_respond()
Bugzilla #8995 <https://bugs.freedesktop.org/show_bug.cgi?id=8995>
Patch #7759 <https://bugs.freedesktop.org/attachment.cgi?id=7759>
-rw-r--r-- | xdmcp.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -812,7 +812,7 @@ forward_respond ( in6_addr.sin6_len = sizeof(in6_addr); #endif in6_addr.sin6_family = AF_INET6; - memmove(&in6_addr,clientAddress.data,clientAddress.length); + memmove(&in6_addr.sin6_addr,clientAddress.data,clientAddress.length); memmove((char *) &in6_addr.sin6_port, clientPort.data, 2); client = (struct sockaddr *) &in6_addr; clientlen = sizeof (in6_addr); |