Improved link request/response handling.

This commit is contained in:
Mark Qvist 2021-09-03 16:24:47 +02:00
parent 58d48c18f4
commit d28c888d1c

View File

@ -245,7 +245,7 @@ class Link:
RNS.log("Link "+str(self)+" established with "+str(self.destination)+", RTT is "+str(self.rtt), RNS.LOG_VERBOSE)
rtt_data = umsgpack.packb(self.rtt)
rtt_packet = RNS.Packet(self, rtt_data, context=RNS.Packet.LRRTT)
#rtt_packet.send()
rtt_packet.send()
self.had_outbound()
self.status = Link.ACTIVE