Set context flags on path response

This commit is contained in:
Mark Qvist 2024-09-04 19:39:59 +02:00
parent 6ac393bbcd
commit d21dda2830
1 changed files with 6 additions and 3 deletions

View File

@ -1604,7 +1604,8 @@ class Transport:
header_type = RNS.Packet.HEADER_2, header_type = RNS.Packet.HEADER_2,
transport_type = Transport.TRANSPORT, transport_type = Transport.TRANSPORT,
transport_id = Transport.identity.hash, transport_id = Transport.identity.hash,
attached_interface = local_interface attached_interface = local_interface,
context_flag = packet.context_flag,
) )
new_announce.hops = packet.hops new_announce.hops = packet.hops
@ -1621,7 +1622,8 @@ class Transport:
header_type = RNS.Packet.HEADER_2, header_type = RNS.Packet.HEADER_2,
transport_type = Transport.TRANSPORT, transport_type = Transport.TRANSPORT,
transport_id = Transport.identity.hash, transport_id = Transport.identity.hash,
attached_interface = local_interface attached_interface = local_interface,
context_flag = packet.context_flag,
) )
new_announce.hops = packet.hops new_announce.hops = packet.hops
@ -1652,7 +1654,8 @@ class Transport:
header_type = RNS.Packet.HEADER_2, header_type = RNS.Packet.HEADER_2,
transport_type = Transport.TRANSPORT, transport_type = Transport.TRANSPORT,
transport_id = Transport.identity.hash, transport_id = Transport.identity.hash,
attached_interface = attached_interface attached_interface = attached_interface,
context_flag = packet.context_flag,
) )
new_announce.hops = packet.hops new_announce.hops = packet.hops