Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Removed a constraint that caused mnet to fail on clusters, vservers a…

…nd 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
  • Loading branch information...
commit 2eff9d13671e5260c904c599ebf525546cbff555 1 parent 1437b25
donal72 authored
Showing with 0 additions and 2 deletions.
  1. +0 −2  mnet/xmlrpc/server.php
View
2  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) {
Please sign in to comment.
Something went wrong with that request. Please try again.