Fix sending of long updates

This commit is contained in:
Matthias Schiffer 2012-10-07 04:23:17 +02:00
parent 5daeb1fc6f
commit 4334011653

View file

@ -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;
}
}
}
}