Index: trunk/routing/twistedbgp/src/bgp.py |
— | — | @@ -1164,7 +1164,10 @@ |
1165 | 1165 | |
1166 | 1166 | # Don't do anything if we closed the connection explicitly ourselves |
1167 | 1167 | if self.disconnected: |
1168 | | - self.deferred.callback(True) |
| 1168 | + # Callback sessionEstablished shouldn't be called, especially not |
| 1169 | + # with an argument protocol = True. Calling errback doesn't seem |
| 1170 | + # appropriate either. Just do nothing? |
| 1171 | + #self.deferred.callback(True) |
1169 | 1172 | self.factory.connectionClosed(self) |
1170 | 1173 | return |
1171 | 1174 | |