Fix sending of long updates
This commit is contained in:
parent
5daeb1fc6f
commit
4334011653
1 changed files with 5 additions and 0 deletions
|
@ -211,6 +211,11 @@ void ffd_send_update(ffd_iface_t *iface, ffd_neigh_t *neigh, ffd_announce_t *ann
|
|||
|
||||
node_id = FFD_NODE_ID_UNSPEC;
|
||||
packet->len = 0;
|
||||
|
||||
if (!add_update(packet, FFD_PACKET_MAX, &node_id, a, with_data)) {
|
||||
fprintf(stderr, "error: add_update failed\n");
|
||||
return;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Reference in a new issue