summaryrefslogtreecommitdiff
path: root/service/OneService.cpp
diff options
context:
space:
mode:
authorAdam Ierymenko <adam.ierymenko@gmail.com>2016-08-03 18:04:08 -0700
committerAdam Ierymenko <adam.ierymenko@gmail.com>2016-08-03 18:04:08 -0700
commit7e6e56e2bce240a8d3a4f2825d3f110109a541b6 (patch)
treeb4eb7582e8500dcf4c224571b048dab6d0afda9c /service/OneService.cpp
parent67cb03742e09f7ad83c2edd80e0a8ffbfcfa6285 (diff)
downloadinfinitytier-7e6e56e2bce240a8d3a4f2825d3f110109a541b6.tar.gz
infinitytier-7e6e56e2bce240a8d3a4f2825d3f110109a541b6.zip
Bunch of work on pushing and replication of tags and capabilities, and protocol cleanup.
Diffstat (limited to 'service/OneService.cpp')
-rw-r--r--service/OneService.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/service/OneService.cpp b/service/OneService.cpp
index 13820f5c..460eb1c9 100644
--- a/service/OneService.cpp
+++ b/service/OneService.cpp
@@ -705,6 +705,9 @@ public:
}
authToken = _trimString(authToken);
+ // Clean up any legacy files if present
+ OSUtils::rm((_homePath + ZT_PATH_SEPARATOR_S + "peers.save").c_str());
+
_node = new Node(
OSUtils::now(),
this,