summaryrefslogtreecommitdiff
path: root/node/Network.hpp
diff options
context:
space:
mode:
authorAdam Ierymenko <adam.ierymenko@gmail.com>2017-04-11 08:47:02 -0700
committerAdam Ierymenko <adam.ierymenko@gmail.com>2017-04-11 08:47:02 -0700
commit88a4a3b1bae97548142b73031ff415db6ebd31d0 (patch)
tree1b1c6d58dd9c3f54ec340f6fb30d9bad14093d58 /node/Network.hpp
parent6fabaae736de2daa1ba0c22701bbb11539e3fba7 (diff)
downloadinfinitytier-88a4a3b1bae97548142b73031ff415db6ebd31d0.tar.gz
infinitytier-88a4a3b1bae97548142b73031ff415db6ebd31d0.zip
Pass tptr on leave.
Diffstat (limited to 'node/Network.hpp')
-rw-r--r--node/Network.hpp7
1 files changed, 3 insertions, 4 deletions
diff --git a/node/Network.hpp b/node/Network.hpp
index fccc267a..faef0fed 100644
--- a/node/Network.hpp
+++ b/node/Network.hpp
@@ -344,9 +344,8 @@ public:
/**
* Destroy this network
*
- * This causes the network to disable itself, destroy its tap device, and on
- * delete to delete all trace of itself on disk and remove any persistent tap
- * device instances. Call this when a network is being removed from the system.
+ * This sets the network to completely remove itself on delete. This also prevents the
+ * call of the normal port shutdown event on delete.
*/
void destroy();
@@ -364,7 +363,7 @@ public:
/**
* @return Externally usable pointer-to-pointer exported via the core API
*/
- inline void **userPtr() throw() { return &_uPtr; }
+ inline void **userPtr() { return &_uPtr; }
private:
ZT_VirtualNetworkStatus _status() const;