hello reception: use link status ordering
authorFerry Huberts <ferry.huberts@pelagic.nl>
Mon, 30 Jan 2017 16:53:19 +0000 (17:53 +0100)
committerFerry Huberts <ferry.huberts@pelagic.nl>
Mon, 30 Jan 2017 17:20:39 +0000 (18:20 +0100)
commit5089a79914620ac4eccded643a4c5bb28f6b6592
tree560e363ed671734caef7cec262a8b1e9ef77777a
parentdb3b62a33beeb27d16942de72c3d2bb845c5d93e
hello reception: use link status ordering

See the explanation in the description of commit 2f38613.
This commit fixes the receive side of the described problem.

From this commit on 'broken' senders and 'fixed' receivers can
interoperate correctly.

The only case left unfixed is 'broken' senders and 'broken' receivers
(which is obviously unfixable), all other combinations are fixed.

'broken' = v0.6.6.1-136-g3d2fd73 <= olsrd < v0.9.5-82-g2f38613
'fixed'  = olsrd <  v0.6.6.1-136-g3d2fd73
           OR
           olsrd >= v0.9.5-82-g2f38613 (senders  )
           olsrd >= this commit        (receivers)

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
src/process_package.c