mirror of https://github.com/OpenIdentityPlatform/OpenDJ.git

Matthew Swift
05.17.2011 5b3af8b42bbd502d7cf3597c8c7c595e07cbbc16
Fix OPENDJ-244: Replication fails when replication server is configured for a network interface which is not an alias of localhost/127.0.0.1

Add TODO comment indicating potential issue which will arise if/when we support listening on specific network addresses.
1 files modified
3 ■■■■■ changed files
opends/src/server/org/opends/server/replication/server/ReplicationServer.java 3 ●●●●● patch | view | raw | blame | history
opends/src/server/org/opends/server/replication/server/ReplicationServer.java
@@ -423,6 +423,9 @@
            }
            // Avoid connecting to self.
            // FIXME: this will need changing if we ever support listening on
            // specific addresses.
            if (isLocalAddress(inetAddress) && (port == replicationPort))
            {
              continue;