hello reception: remove duplicate neighbors
authorIwan G. Flameling <iwanovich@gmail.com>
Fri, 3 Feb 2017 13:33:55 +0000 (14:33 +0100)
committerFerry Huberts <ferry.huberts@pelagic.nl>
Tue, 7 Feb 2017 12:37:58 +0000 (13:37 +0100)
commit182484c23d6b856dd28f823355ea39c7aca592ae
treead2f88ebb0b021374a712d4935a6f9efc58b7d52
parent3fb57fa4a724cf6a082d28a18f469e3f6c765a34
hello reception: remove duplicate neighbors

See the explanations in the descriptions of commits 2f38613 and
5089a79.

To fix the issue more thoroughly we need to ensure that no duplicate
neighbours are sent or received because that confuses the receiver.
This is especially true when the HELLO messages are fragmented, and
even more so when the fragments have some delay between them since
that causes link instability.

This commit fixes that for the receiving side.

Signed-off-by: Iwan G. Flameling <iwanovich@gmail.com>
Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
src/process_package.c