[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: ANTS-2.0 DANTE Dies



	The following patch makes the debugging statements a little
easier to use.

1)	There were two Traces that said "Edge node leaving";  this
	makes them distinct.

2)	The IP address should be printed as four dotted octets, not as a
	single integer.

122% diff -u DanteServer.java.orig DanteServer.java
--- DanteServer.java.orig       Fri Apr 20 13:09:08 2001
+++ DanteServer.java    Mon Aug 20 18:25:10 2001
@@ -237,8 +237,8 @@
      * Return a timed-out address to the pool. 
      */
     public synchronized void returnAddress(int address) {
-       Trace.trace(Trace.ANTS_DANTE, "DanteServer: Edge node leaving: "
-                   +address);
+       Trace.trace(Trace.ANTS_DANTE, "DanteServer: Edge node returning: "
+                   +Address.toString(address));
 
        int index = address - firstAddress;
        Integer key = new Integer (index);



					Craig Milo Rogers




[ Janos ] [ OSKit ] [ Network Testbed ] [ Flick ] [ Fluke ]
Flux Research Group / Department of Computer Science / University of Utah