|
@@ -49,7 +49,7 @@ def notify(connection):
|
|
|
# lookup shortest path to i (the neighbour)
|
|
|
dlink = graph.lookup(i[0])
|
|
|
# send to neighbour using dlink
|
|
|
- sock.sendto(lpacket(rid, connection.src, connection.link, connection.cost, dlink))
|
|
|
+ sock.sendto(lpacket(rid, connection.src, connection.link, connection.cost, dlink).package(), (haddr, hport))
|
|
|
|
|
|
|
|
|
class connection:
|