소스 검색

forgot a couple words

tarfeef101 6 년 전
부모
커밋
4b1c2a05e4
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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: