Skip to content

Commit 0c32a94

Browse files
author
Alexander Gottwald
committed
Bugzilla #889: Bind -from address to port number 0 instead of 177
1 parent 07e6011 commit 0c32a94

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

os/xdmcp.c

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/* $XdotOrg: xc/programs/Xserver/os/xdmcp.c,v 1.1.4.5 2004/02/23 21:37:27 kaleb Exp $ */
1+
/* $XdotOrg: xc/programs/Xserver/os/xdmcp.c,v 1.2 2004/04/23 19:54:28 eich Exp $ */
22
/* $Xorg: xdmcp.c,v 1.4 2001/01/31 13:37:19 pookie Exp $ */
33
/*
44
* Copyright 1989 Network Computing Devices, Inc., Mountain View, California.
@@ -1558,7 +1558,7 @@ get_addr_by_name(
15581558
memmove(&addr->sin_addr, hep->h_addr, hep->h_length);
15591559
*addrlen = sizeof(struct sockaddr_in);
15601560
addr->sin_family = AF_INET;
1561-
addr->sin_port = htons (xdm_udp_port);
1561+
addr->sin_port = htons (port);
15621562
}
15631563
else
15641564
{

0 commit comments

Comments
 (0)