Commit 6c97a5f6 authored by Matthieu Boutier's avatar Matthieu Boutier Committed by Juliusz Chroboczek

Fix bug: wrong comparison.

parent 9b9e750d
...@@ -44,7 +44,7 @@ resend_match(struct resend *resend, ...@@ -44,7 +44,7 @@ resend_match(struct resend *resend,
return (resend->kind == kind && return (resend->kind == kind &&
resend->plen == plen && memcmp(resend->prefix, prefix, 16) == 0 && resend->plen == plen && memcmp(resend->prefix, prefix, 16) == 0 &&
resend->src_plen == src_plen && resend->src_plen == src_plen &&
memcmp(resend->src_prefix, src_prefix, 16)); memcmp(resend->src_prefix, src_prefix, 16) == 0);
} }
/* This is called by neigh.c when a neighbour is flushed */ /* This is called by neigh.c when a neighbour is flushed */
......
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