From d75f2f7051c3d0b92cc801e32565b643a0bac4c0 Mon Sep 17 00:00:00 2001 From: Adam Ierymenko Date: Wed, 29 Jan 2014 17:24:55 -0800 Subject: SIGHUP now causes resync with peers. --- node/Node.hpp | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'node/Node.hpp') diff --git a/node/Node.hpp b/node/Node.hpp index 974a51b6..0eb96cae 100644 --- a/node/Node.hpp +++ b/node/Node.hpp @@ -180,6 +180,12 @@ public: void terminate(ReasonForTermination reason,const char *reasonText) throw(); + /** + * Forget p2p links and resynchronize with peers + */ + void resync() + throw(); + /** * Get the ZeroTier version in major.minor.revision string format * -- cgit v1.2.3