summaryrefslogtreecommitdiffstats
path: root/src/fastd.c
diff options
context:
space:
mode:
authorMatthias Schiffer <mschiffer@universe-factory.net>2013-12-16 19:53:16 +0100
committerMatthias Schiffer <mschiffer@universe-factory.net>2013-12-16 19:53:16 +0100
commitee300afb79e9788f98d4c98d4535018f7fdbdcdd (patch)
tree440d42f6b785628e77a38ff5d4d04f50576bca0b /src/fastd.c
parent4475652054616ded16485341b081abf42cc6c08e (diff)
downloadfastd-ee300afb79e9788f98d4c98d4535018f7fdbdcdd.tar
fastd-ee300afb79e9788f98d4c98d4535018f7fdbdcdd.zip
Revert "resolve: save a timestamp in the resolve return to ensure we don't confuse remotes before and after reconfiguration"
This reverts commit 4475652054616ded16485341b081abf42cc6c08e.
Diffstat (limited to 'src/fastd.c')
-rw-r--r--src/fastd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fastd.c b/src/fastd.c
index 31bb90a..a9cb0c4 100644
--- a/src/fastd.c
+++ b/src/fastd.c
@@ -516,7 +516,7 @@ static void handle_resolve_returns(fastd_context_t *ctx) {
fastd_remote_t *remote;
for (remote = peer->remotes; remote; remote = remote->next) {
- if (remote == resolve_return.remote && timespec_equal(&remote->last_resolve, &resolve_return.resolve_time))
+ if (remote == resolve_return.remote)
break;
}