aboutsummaryrefslogtreecommitdiff
path: root/xorg-server/hw
diff options
context:
space:
mode:
authormarha <marha@users.sourceforge.net>2011-03-09 14:34:24 +0000
committermarha <marha@users.sourceforge.net>2011-03-09 14:34:24 +0000
commitc10c00e21e70361cbf93e7f104dc7474a1c91a14 (patch)
treedad5b8a56213cce80aa3c87b8c04353817a61f2c /xorg-server/hw
parent0856e1e6040a1a9ed52cd3a06f49dc66fd1a3092 (diff)
downloadvcxsrv-c10c00e21e70361cbf93e7f104dc7474a1c91a14.tar.gz
vcxsrv-c10c00e21e70361cbf93e7f104dc7474a1c91a14.tar.bz2
vcxsrv-c10c00e21e70361cbf93e7f104dc7474a1c91a14.zip
Put bracket around numerical ipv6 address for display name, otherwise the clipboard cannot open the display when using ipv6
Diffstat (limited to 'xorg-server/hw')
-rw-r--r--xorg-server/hw/xwin/windisplay.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/xorg-server/hw/xwin/windisplay.c b/xorg-server/hw/xwin/windisplay.c
index 316df5ffb..db7b2f4d8 100644
--- a/xorg-server/hw/xwin/windisplay.c
+++ b/xorg-server/hw/xwin/windisplay.c
@@ -47,7 +47,7 @@ winGetDisplayName(char *szDisplay, unsigned int screen)
}
else if (TransIsListening("inet6"))
{
- snprintf(szDisplay, 512, "::1:%s.%d", display, screen);
+ snprintf(szDisplay, 512, "[::1]:%s.%d", display, screen);
}
else
{