2010-08-19 16:27:30 +02:00
|
|
|
--- xorg-server-1.6.5/os/access.c
|
|
|
|
+++ xorg-server-1.6.5/os/access.c
|
|
|
|
@@ -781,7 +781,9 @@
|
2010-07-19 20:18:08 +02:00
|
|
|
|
2010-08-19 16:27:30 +02:00
|
|
|
/*
|
|
|
|
* ignore 'localhost' entries as they're not useful
|
2010-07-19 20:18:08 +02:00
|
|
|
- * on the other end of the wire
|
2010-08-19 16:27:30 +02:00
|
|
|
+ * on the other end of the wire and because on hosts
|
|
|
|
+ * with shared home dirs they'll result in conflic
|
|
|
|
+ * entries in ~/.Xauthority
|
|
|
|
*/
|
|
|
|
if (ifr->ifa_flags & IFF_LOOPBACK)
|
|
|
|
continue;
|
|
|
|
@@ -804,6 +806,14 @@
|
|
|
|
else if (family == FamilyInternet6 &&
|
|
|
|
IN6_IS_ADDR_LOOPBACK((struct in6_addr *)addr))
|
2010-07-19 20:18:08 +02:00
|
|
|
continue;
|
|
|
|
+
|
2010-08-19 16:27:30 +02:00
|
|
|
+ /* Ignore IPv6 link local addresses (fe80::/10), because
|
|
|
|
+ * they need a scope identifier, which we have no way
|
|
|
|
+ * of telling to the other end.
|
|
|
|
+ */
|
|
|
|
+ if (family == FamilyInternet6 &&
|
|
|
|
+ IN6_IS_ADDR_LINKLOCAL((struct in6_addr *)addr))
|
|
|
|
+ continue;
|
2010-07-19 20:18:08 +02:00
|
|
|
#endif
|
2010-08-19 16:27:30 +02:00
|
|
|
XdmcpRegisterConnection(family, (char *)addr, len);
|
|
|
|
#if defined(IPv6) && defined(AF_INET6)
|