Commit 56cea2f0 authored by Juliusz Chroboczek's avatar Juliusz Chroboczek

Fix typo when deciding to send txcost.

parent 5d4f9e3b
......@@ -165,7 +165,7 @@ update_neighbour(struct neighbour *neigh, int hello, int hello_interval)
send_self_update(neigh->network);
send_neighbour_update(neigh, NULL);
} else {
if((neigh->reach & 0xF000) != 0 && (neigh->reach & 0x0F000) == 0)
if((neigh->reach & 0xF000) != 0 && (neigh->reach & 0x0F00) == 0)
send_txcost(neigh, NULL);
}
}
......
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