Commit b8386118 authored by Juliusz Chroboczek's avatar Juliusz Chroboczek

Fix sending of router-ids.

parent a2a1dfe0
...@@ -777,7 +777,7 @@ really_send_update(struct network *net, ...@@ -777,7 +777,7 @@ really_send_update(struct network *net,
real_plen = plen; real_plen = plen;
} }
if(!net->have_buffered_id || memcmp(id, net->buffered_id, 16) != 0) { if(!net->have_buffered_id || memcmp(id, net->buffered_id, 8) != 0) {
if(real_plen == 128 && memcmp(real_prefix + 8, id, 8) == 0) { if(real_plen == 128 && memcmp(real_prefix + 8, id, 8) == 0) {
flags |= 0x40; flags |= 0x40;
} else { } else {
......
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