ames: correctly identify stale routes

This commit is contained in:
fang 2022-08-25 13:41:55 +02:00 committed by GitHub
parent 43dff9c279
commit b2422030f7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -2061,7 +2061,7 @@
(try-next-sponsor sponsor.peer-state)
:: if forwarding, route must not be stale
::
?: &(for (lth last-contact.qos.peer-state (add now ~h1)))
?: &(for (lth last-contact.qos.peer-state (sub now ~h1)))
(try-next-sponsor sponsor.peer-state)
::
?~ route=route.peer-state