Commit 3aa48978 authored by Juliusz Chroboczek's avatar Juliusz Chroboczek

Fix typo in buffer_ihu.

Incorrect message size when neighbour is not link-local.
parent a680b6f0
......@@ -1616,7 +1616,7 @@ buffer_ihu(struct buffered *buf, struct interface *ifp, unsigned short rxcost,
int msglen, ll;
ll = linklocal(address);
msglen = (ll ? 14 : 200) + (rtt_data ? 10 : 0);
msglen = (ll ? 14 : 22) + (rtt_data ? 10 : 0);
start_message(buf, ifp, MESSAGE_IHU, msglen);
accumulate_byte(buf, ll ? 3 : 2);
......
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