[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[minion-cvs] Backport bugfix for routing from pre-0.0.6 servers to n...



Update of /home/minion/cvsroot/src/minion/lib/mixminion
In directory moria.mit.edu:/tmp/cvs-serv20704/lib/mixminion

Modified Files:
      Tag: mixminion-v0-0-7-patches
	ServerInfo.py 
Log Message:
Backport bugfix for routing from pre-0.0.6 servers to no-fixed-IP servers

Index: ServerInfo.py
===================================================================
RCS file: /home/minion/cvsroot/src/minion/lib/mixminion/ServerInfo.py,v
retrieving revision 1.83
retrieving revision 1.83.2.1
diff -u -d -r1.83 -r1.83.2.1
--- ServerInfo.py	7 Mar 2004 06:31:46 -0000	1.83
+++ ServerInfo.py	27 Apr 2004 06:00:47 -0000	1.83.2.1
@@ -396,6 +396,8 @@
             return 1
         myOutProtocols = self.getOutgoingMMTPProtocols()
         otherInProtocols = otherDesc.getIncomingMMTPProtocols()
+        if not self.getHostname() and not other.getIP():
+            return 0
         for out in myOutProtocols:
             if out in otherInProtocols:
                 return 1