Commit 8e4f0633 authored by Juliusz Chroboczek's avatar Juliusz Chroboczek

Set unicast_neighbour when buffering unicast updates.

Oops... otherwise we crash.
parent 641b8aa6
......@@ -618,7 +618,10 @@ send_unicast_message(struct neighbour *neigh,
return;
}
unicast_neighbour = neigh;
assert(unicast_buffered % 24 == 0);
unicast_buffer[unicast_buffered++] = type;
unicast_buffer[unicast_buffered++] = plen;
unicast_buffer[unicast_buffered++] = 0;
......
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