Explorar o código

why did i make accessors?

tarfeef101 %!s(int64=6) %!d(string=hai) anos
pai
achega
b1a0870d8b
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      a3/router.py

+ 1 - 1
a3/router.py

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