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>
Tue, 7 Feb 2017 12:37:43 +0000 (13:37 +0100)
commit63b0f5ab11f47cc9248ca3f6e2c71b561e5d26d3
tree06eb318fbf8f668f8d3d68b77c09d484ba6914aa
parentfda5bc513964413b0c235a712474e8ce1d0849b6
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