summaryrefslogtreecommitdiff
path: root/os/xdmcp.c
diff options
context:
space:
mode:
authorAlexander Gottwald <alexander.gottwald@s1999.tu-chemnitz.de>2004-07-20 15:15:13 +0000
committerAlexander Gottwald <alexander.gottwald@s1999.tu-chemnitz.de>2004-07-20 15:15:13 +0000
commit0c32a94623b13dd1ac5b015b465bdf890f498282 (patch)
treea69834fa77fc1aaf1aa70ac63bb389b6b6b8861d /os/xdmcp.c
parent07e6011106dcfa0ab69861aa7dcbb88382625c16 (diff)
Bugzilla #889: Bind -from address to port number 0 instead of 177
Diffstat (limited to 'os/xdmcp.c')
-rw-r--r--os/xdmcp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/os/xdmcp.c b/os/xdmcp.c
index 9489afc44..d0f73513a 100644
--- a/os/xdmcp.c
+++ b/os/xdmcp.c
@@ -1,4 +1,4 @@
-/* $XdotOrg: xc/programs/Xserver/os/xdmcp.c,v 1.1.4.5 2004/02/23 21:37:27 kaleb Exp $ */
+/* $XdotOrg: xc/programs/Xserver/os/xdmcp.c,v 1.2 2004/04/23 19:54:28 eich Exp $ */
/* $Xorg: xdmcp.c,v 1.4 2001/01/31 13:37:19 pookie Exp $ */
/*
* Copyright 1989 Network Computing Devices, Inc., Mountain View, California.
@@ -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
{