Commit e795d3f8 by Juliusz Chroboczek

Fix typo -- ids are 8 octets, not 16.

1 parent 90f60f8e
......@@ -86,7 +86,7 @@ struct interface {
char have_buffered_id;
char have_buffered_nh;
char have_buffered_prefix;
unsigned char buffered_id[16];
unsigned char buffered_id[8];
unsigned char buffered_nh[4];
unsigned char buffered_prefix[16];
unsigned char *sendbuf;
......
......@@ -1214,7 +1214,7 @@ really_send_update(struct interface *ifp,
accumulate_bytes(ifp, id, 8);
end_message(ifp, MESSAGE_ROUTER_ID, 10);
}
memcpy(ifp->buffered_id, id, 16);
memcpy(ifp->buffered_id, id, 8);
ifp->have_buffered_id = 1;
}
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!