Commit 0ceec83a authored by Juliusz Chroboczek's avatar Juliusz Chroboczek

Don't reply to expired requests.

parent 52426b0f
......@@ -135,7 +135,7 @@ unsatisfied_request(const unsigned char *prefix, unsigned char plen,
struct resend *request;
request = find_request(prefix, plen, NULL);
if(request == NULL)
if(request == NULL || resend_expired(request))
return 0;
if(request->router_hash != router_hash ||
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment