summaryrefslogtreecommitdiffstats
path: root/ffd/send.c
diff options
context:
space:
mode:
Diffstat (limited to 'ffd/send.c')
-rw-r--r--ffd/send.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/ffd/send.c b/ffd/send.c
index 2121b58..62b0a74 100644
--- a/ffd/send.c
+++ b/ffd/send.c
@@ -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;
+ }
}
}
}