From d21dda2830697375b0e966ca7bd6e90c0d08f7ec Mon Sep 17 00:00:00 2001 From: Mark Qvist Date: Wed, 4 Sep 2024 19:39:59 +0200 Subject: [PATCH] Set context flags on path response --- RNS/Transport.py | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/RNS/Transport.py b/RNS/Transport.py index a8d978b..5c5f2c5 100755 --- a/RNS/Transport.py +++ b/RNS/Transport.py @@ -1604,7 +1604,8 @@ class Transport: header_type = RNS.Packet.HEADER_2, transport_type = Transport.TRANSPORT, transport_id = Transport.identity.hash, - attached_interface = local_interface + attached_interface = local_interface, + context_flag = packet.context_flag, ) new_announce.hops = packet.hops @@ -1621,7 +1622,8 @@ class Transport: header_type = RNS.Packet.HEADER_2, transport_type = Transport.TRANSPORT, transport_id = Transport.identity.hash, - attached_interface = local_interface + attached_interface = local_interface, + context_flag = packet.context_flag, ) new_announce.hops = packet.hops @@ -1652,7 +1654,8 @@ class Transport: header_type = RNS.Packet.HEADER_2, transport_type = Transport.TRANSPORT, transport_id = Transport.identity.hash, - attached_interface = attached_interface + attached_interface = attached_interface, + context_flag = packet.context_flag, ) new_announce.hops = packet.hops