Author: zothar
Date: 2006-07-02 15:04:31 +0000 (Sun, 02 Jul 2006)
New Revision: 9427
Modified:
trunk/freenet/src/freenet/io/comm/UdpSocketManager.java
Log:
Comment change wrapping up Mantis bug #389. No functional changes.
Modified: trunk/freenet/src/freenet/io/comm/UdpSocketManager.java
===================================================================
--- trunk/freenet/src/freenet/io/comm/UdpSocketManager.java 2006-07-02
13:36:06 UTC (rev 9426)
+++ trunk/freenet/src/freenet/io/comm/UdpSocketManager.java 2006-07-02
15:04:31 UTC (rev 9427)
@@ -512,10 +512,7 @@
* @param destination The peer to send it to.
*/
public void sendPacket(byte[] blockToSend, Peer destination) {
- // I think DNSRequester should have handled DNS for this spot, but
- // I'm seeing this error, so I'm temporarily switching this to
- // allow DNS until I have more time to sort this out -Zothar (**FIXME**)
- // start with false, and then try true, but complain loudly that we had to
use true :)
+ // there should be no DNS needed here, but go ahead if we can,
but complain doing it
if( destination.getAddress(false) == null ) {
Logger.error(this, "Tried sending to destination
without pre-looked up IP address(needs a real Peer.getHostname()): null:" +
destination.getPort(), new Exception("error"));
if( destination.getAddress(true) == null ) {