From ed5dd0a1f9eea43219b4c678ec062f614413eea2 Mon Sep 17 00:00:00 2001 From: marha Date: Mon, 14 Feb 2011 16:34:29 +0000 Subject: When XDMCP -from is specified, only register the requested address --- xorg-server/os/xdmcp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'xorg-server') diff --git a/xorg-server/os/xdmcp.c b/xorg-server/os/xdmcp.c index 83e391319..582a0bd97 100644 --- a/xorg-server/os/xdmcp.c +++ b/xorg-server/os/xdmcp.c @@ -491,7 +491,7 @@ XdmcpRegisterConnection ( } } #endif - if (fromAddr && memcmp(regAddr, fromAddr, regAddrlen) != 0) { + if (!fromAddr || memcmp(regAddr, fromAddr, regAddrlen) != 0) { return; } } -- cgit v1.2.3