Commit d42d6d03 authored by Juliusz Chroboczek's avatar Juliusz Chroboczek

Fix request_requested in requested_net == NULL case.

parent 917040de
...@@ -100,6 +100,9 @@ request_requested(struct destination *dest, unsigned char seqno, ...@@ -100,6 +100,9 @@ request_requested(struct destination *dest, unsigned char seqno,
if(seqno_compare(dest->requested_seqno, seqno) < 0) if(seqno_compare(dest->requested_seqno, seqno) < 0)
return 0; return 0;
if(dest->requested_net == NULL)
return 1;
if(net == NULL || net != dest->requested_net) if(net == NULL || net != dest->requested_net)
return 0; return 0;
......
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