Commit c40de851 authored by Juliusz Chroboczek's avatar Juliusz Chroboczek

More tweaks to legacy heuristics.

parent f7b8598b
......@@ -402,7 +402,7 @@ parse_packet(const unsigned char *from, struct network *net,
int l = 10 + (message[4] + 7) / 8 - message[5];
/* If the peer doesn't send diversity information,
assume that routes with a small metric are non-interfering. */
if(metric <= 192) {
if(metric < 256) {
channels[0] = 0;
} else {
channels[0] = NET_CHANNEL_INTERFERING;
......
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