From a2c6ab59d5205773d6b6bdfb054c34e6da502512 Mon Sep 17 00:00:00 2001 From: donal72 <donal72> Date: Tue, 16 Oct 2007 03:26:39 +0000 Subject: [PATCH] Removed a constraint that caused mnet to fail on clusters, vservers and other network configurations where the mnet client's hostname (as specified in the wwwroot) resolves to an IP address that differs from the IP address that it uses to contact other hosts. This should address MDL-10672 --- mnet/xmlrpc/server.php | 2 -- 1 file changed, 2 deletions(-) diff --git a/mnet/xmlrpc/server.php b/mnet/xmlrpc/server.php index 91ad3711cb..5faaef0933 100644 --- a/mnet/xmlrpc/server.php +++ b/mnet/xmlrpc/server.php @@ -132,8 +132,6 @@ function mnet_server_strip_wrappers($HTTP_RAW_POST_DATA) { if (false == $host_record_exists) { exit(mnet_server_fault(7020, 'wrong-wwwroot', $crypt_parser->remote_wwwroot)); - } elseif (isset($_SERVER['REMOTE_ADDR']) && $_SERVER['REMOTE_ADDR'] != $MNET_REMOTE_CLIENT->ip_address) { - exit(mnet_server_fault(7017, 'wrong-ip')); } if ($crypt_parser->payload_encrypted) { -- 2.39.5