From c3a0c36d3c935097ccc72d92581f0f2b7bc794a9 Mon Sep 17 00:00:00 2001 From: Matthias Schiffer Date: Sat, 20 Oct 2012 10:58:10 +0200 Subject: Revert "Somewhat hacky implementation of update retransmits" This reverts commit 4a40b6246a4862ac52fa4ef7f692f63784e72330. --- ffd/announce.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'ffd/announce.c') 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) -- cgit v1.2.3