summaryrefslogtreecommitdiffstats
path: root/ffd/announce.c
diff options
context:
space:
mode:
authorMatthias Schiffer <mschiffer@universe-factory.net>2012-10-08 06:08:11 +0200
committerMatthias Schiffer <mschiffer@universe-factory.net>2012-10-08 06:08:11 +0200
commite912f0374016bb4f21f6f4259c0d488738d98997 (patch)
treed3d63399c1d834eb0a1b6bda64febc207a469bfa /ffd/announce.c
parentec21d1874e54cfb4ce2f0e91ba0310b378b60a4b (diff)
downloadffd-e912f0374016bb4f21f6f4259c0d488738d98997.tar
ffd-e912f0374016bb4f21f6f4259c0d488738d98997.zip
Send and handle seqno requests
Diffstat (limited to 'ffd/announce.c')
-rw-r--r--ffd/announce.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/ffd/announce.c b/ffd/announce.c
index 0d7b1bc..26ced28 100644
--- a/ffd/announce.c
+++ b/ffd/announce.c
@@ -116,6 +116,9 @@ void ffd_announce_update(ffd_announce_t *announce) {
announce->selected = select_nexthop(announce);
announce->metric = get_metric(announce);
+ if (!announce->selected)
+ ffd_send_seqno_request_for(NULL, announce);
+
/* triggered updates */
int diff = announce->metric.metric - announce->last_metric;