Commit 5b9b745f authored by Juliusz Chroboczek's avatar Juliusz Chroboczek

Fix typo in assertion when sending diversity information.

parent e2f6f29a
......@@ -988,7 +988,7 @@ flushupdates(struct network *net)
channels[0] = NET_CHANNEL_INTERFERING;
else {
assert(route_net->channel > 0 &&
route_net->channel < 254);
route_net->channel <= 254);
channels[0] = route_net->channel;
}
memcpy(channels + 1, route->channels, DIVERSITY_HOPS - 1);
......
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