Commit 45939d21 authored by Juliusz Chroboczek's avatar Juliusz Chroboczek

Fix incorrect test for overflow in ihu_interval.

parent 91bf34f2
......@@ -675,7 +675,7 @@ send_ihu(struct neighbour *neigh, struct network *net)
return;
}
if(net && net->ihu_interval * 100 >= 0xFFFF)
if(net && net->ihu_interval * 100 <= 0xFFFF)
interval = net->ihu_interval * 100;
else
interval = 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