Browse Source

forgot a couple words

tarfeef101 6 năm trước cách đây
mục cha
commit
4b1c2a05e4
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      a3/router.py

+ 1 - 1
a3/router.py

@@ -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: