Commit a8063f76 authored by Niels Möller's avatar Niels Möller
Browse files

(xauth_lookup): Bugfix for ipv6 addresses.

Rev: src/xauth.c:1.7
parent 49b9f9bf
......@@ -127,7 +127,7 @@ xauth_lookup(struct sockaddr *sa,
{
struct sockaddr_in6 *s = (struct sockaddr_in6 *) sa;
address = (char *) s->sin6_addr;
address = (char *) &s->sin6_addr;
address_length = 16;
family = 0;
break;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment