Commit bf085f58 authored by Juliusz Chroboczek's avatar Juliusz Chroboczek

Fix parsing of IHUs.

All IHUs were interpreted as wildcards, which caused incorrect link quality
estimation.  And I didn't notice until now!
parent 8817830f
......@@ -231,7 +231,7 @@ parse_packet(const unsigned char *from, struct network *net,
txcost, interval,
format_address(from), net->ifname,
format_address(address));
if(message[3] == 0 || network_ll_address(net, address)) {
if(message[2] == 0 || network_ll_address(net, address)) {
neigh->txcost = txcost;
neigh->ihu_time = now;
neigh->ihu_interval = interval;
......
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