|
@@ -27,7 +27,7 @@ pack, addr = sock.recvfrom(4096)
|
|
circuit = unpacket(pack)[1]
|
|
circuit = unpacket(pack)[1]
|
|
|
|
|
|
# send shit out to emulator
|
|
# send shit out to emulator
|
|
-for i in circuit.getlinks():
|
|
|
|
|
|
+for i in circuit.getlink():
|
|
sock.sendto(hpacket(rid, i.getlid()).package(), (haddr, hport))
|
|
sock.sendto(hpacket(rid, i.getlid()).package(), (haddr, hport))
|
|
|
|
|
|
# stores neighbours, topology db, and graph
|
|
# stores neighbours, topology db, and graph
|