Skip to content

Commit

Permalink
router bugfix
Browse files Browse the repository at this point in the history
  • Loading branch information
lh70 committed Jul 31, 2024
1 parent 6245b2d commit bdc97b6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ class RdtRouter(ws: WSEroutingClient, monitoringClient: MonitoringClientInterfac
println(s"received sender-request for bundle: ${packet.bp}")

// we only route rdt packets rn
if !tempRdtMetaInfoStore.contains(packet.bp.id) then {
if !tempRdtMetaInfoStore.containsKey(packet.bp.id) then {
println(s"bundle meta information for bundle-id ${packet.bp.id} are not available. not routing rn.")
return Option(Packet.ResponseSenderForBundle(bp = packet.bp, clas = List(), delete_afterwards = false))
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ class RdtRouter2(ws: WSEroutingClient, monitoringClient: MonitoringClientInterfa
println(s"received sender-request for bundle: ${packet.bp}")

// we only route rdt packets rn
if !tempRdtMetaInfoStore.contains(packet.bp.id) then {
if !tempRdtMetaInfoStore.containsKey(packet.bp.id) then {
println(s"no bundle meta information available for bundle-id ${packet.bp.id}. not routing.")
return Option(Packet.ResponseSenderForBundle(bp = packet.bp, clas = List(), delete_afterwards = false))
}
Expand Down

0 comments on commit bdc97b6

Please sign in to comment.