Index: programs/Xserver/os/xdmcp.c =================================================================== RCS file: /cvs/xorg/xc/programs/Xserver/os/xdmcp.c,v retrieving revision 1.1.4.3.2.4 diff -u -p -r1.1.4.3.2.4 xdmcp.c --- programs/Xserver/os/xdmcp.c 19 Jul 2004 18:59:05 -0000 1.1.4.3.2.4 +++ programs/Xserver/os/xdmcp.c 19 Jul 2004 19:04:55 -0000 @@ -1558,7 +1558,7 @@ get_addr_by_name( memmove(&addr->sin_addr, hep->h_addr, hep->h_length); *addrlen = sizeof(struct sockaddr_in); addr->sin_family = AF_INET; - addr->sin_port = htons (xdm_udp_port); + addr->sin_port = htons (port); } else {