projects
/
quix0rs-apt-p2p.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix some bugs in the pinging and ID checking.
[quix0rs-apt-p2p.git]
/
apt_p2p_Khashmir
/
knode.py
diff --git
a/apt_p2p_Khashmir/knode.py
b/apt_p2p_Khashmir/knode.py
index 2e2c9b64392b9caf1eb3be2e11258ce225187667..36d77bdc99ea9a872f09609cad81db2f6af73cf8 100644
(file)
--- a/
apt_p2p_Khashmir/knode.py
+++ b/
apt_p2p_Khashmir/knode.py
@@
-21,6
+21,7
@@
class KNodeBase(Node):
if self.id != NULL_ID and senderid != self.id:
log.msg("Got response from different node than expected.")
self.table.invalidateNode(self)
+ raise Exception, "Node ID has changed"
return dict