summaryrefslogtreecommitdiff
path: root/node/Node.hpp
diff options
context:
space:
mode:
authorAdam Ierymenko <adam.ierymenko@gmail.com>2014-01-29 17:24:55 -0800
committerAdam Ierymenko <adam.ierymenko@gmail.com>2014-01-29 17:24:55 -0800
commitd75f2f7051c3d0b92cc801e32565b643a0bac4c0 (patch)
treef835e3e5cc213f2cab56f8581f2b069ec0109f69 /node/Node.hpp
parentaa1be9fcad28573db9ffcb341a5f571141da2968 (diff)
downloadinfinitytier-d75f2f7051c3d0b92cc801e32565b643a0bac4c0.tar.gz
infinitytier-d75f2f7051c3d0b92cc801e32565b643a0bac4c0.zip
SIGHUP now causes resync with peers.
Diffstat (limited to 'node/Node.hpp')
-rw-r--r--node/Node.hpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/node/Node.hpp b/node/Node.hpp
index 974a51b6..0eb96cae 100644
--- a/node/Node.hpp
+++ b/node/Node.hpp
@@ -181,6 +181,12 @@ public:
throw();
/**
+ * Forget p2p links and resynchronize with peers
+ */
+ void resync()
+ throw();
+
+ /**
* Get the ZeroTier version in major.minor.revision string format
*
* @return Version in string form