summaryrefslogtreecommitdiffstats
path: root/ffd/announce.c
diff options
context:
space:
mode:
authorMatthias Schiffer <mschiffer@universe-factory.net>2012-10-20 10:58:10 +0200
committerMatthias Schiffer <mschiffer@universe-factory.net>2012-10-20 10:58:10 +0200
commitc3a0c36d3c935097ccc72d92581f0f2b7bc794a9 (patch)
tree538690a93e5a2282710bc623ec8b23312998c605 /ffd/announce.c
parent4a40b6246a4862ac52fa4ef7f692f63784e72330 (diff)
downloadffd-c3a0c36d3c935097ccc72d92581f0f2b7bc794a9.tar
ffd-c3a0c36d3c935097ccc72d92581f0f2b7bc794a9.zip
Revert "Somewhat hacky implementation of update retransmits"
This reverts commit 4a40b6246a4862ac52fa4ef7f692f63784e72330.
Diffstat (limited to 'ffd/announce.c')
-rw-r--r--ffd/announce.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ffd/announce.c b/ffd/announce.c
index 491aefd..00bd78c 100644
--- a/ffd/announce.c
+++ b/ffd/announce.c
@@ -123,7 +123,7 @@ static inline void seqno_update(ffd_announce_t *announce) {
next = cur;
fprintf(stderr, "debug: update matches seqno request, forwarding\n");
- ffd_send_update(NULL, req->neigh, announce, true, false);
+ ffd_send_update(NULL, req->neigh, announce, false);
ffd_neigh_unref(req->neigh);
free(req);
}
@@ -145,7 +145,7 @@ void ffd_announce_update(ffd_announce_t *announce) {
if (((announce->last_metric == 0xffff) != (announce->metric.metric == 0xffff))
|| diff <= -1024 || diff >= 384) {
fprintf(stderr, "info: announce metric has changed significantly, sending updates\n");
- ffd_send_update(NULL, NULL, announce, announce->metric.metric == 0xffff, false);
+ ffd_send_update(NULL, NULL, announce, false);
}
if (announce->selected)