diff options
author | Matthias Schiffer <mschiffer@universe-factory.net> | 2012-10-07 04:23:17 +0200 |
---|---|---|
committer | Matthias Schiffer <mschiffer@universe-factory.net> | 2012-10-07 04:23:17 +0200 |
commit | 4334011653c004f8f8925342bc81e109452cbcae (patch) | |
tree | 078c3de14a10aa7f09389701afeda9871c236c27 | |
parent | 5daeb1fc6f5a85f09e8b99b5008cd2661c1fc270 (diff) | |
download | ffd-4334011653c004f8f8925342bc81e109452cbcae.tar ffd-4334011653c004f8f8925342bc81e109452cbcae.zip |
Fix sending of long updates
-rw-r--r-- | ffd/send.c | 5 |
1 files changed, 5 insertions, 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; + } } } } |