diff options
| author | Adam Ierymenko <adam.ierymenko@gmail.com> | 2015-10-27 15:00:16 -0700 |
|---|---|---|
| committer | Adam Ierymenko <adam.ierymenko@gmail.com> | 2015-10-27 15:00:16 -0700 |
| commit | 16bc3e03982286232e1df2da17d8b2fc3c5a5c55 (patch) | |
| tree | 3a506566a945a8dec8e8fb5094a9d0d5f9e91f95 /node/Node.hpp | |
| parent | 40976c02a42b8e9078519f92a7c7412b8464e9bc (diff) | |
| download | infinitytier-16bc3e03982286232e1df2da17d8b2fc3c5a5c55.tar.gz infinitytier-16bc3e03982286232e1df2da17d8b2fc3c5a5c55.zip | |
Factor out RemotePath subclass of Path -- no longer needed, just cruft.
Diffstat (limited to 'node/Node.hpp')
| -rw-r--r-- | node/Node.hpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/node/Node.hpp b/node/Node.hpp index 4094a79e..48c5ead8 100644 --- a/node/Node.hpp +++ b/node/Node.hpp @@ -105,7 +105,7 @@ public: ZT_VirtualNetworkConfig *networkConfig(uint64_t nwid) const; ZT_VirtualNetworkList *networks() const; void freeQueryResult(void *qr); - int addLocalInterfaceAddress(const struct sockaddr_storage *addr,int metric,ZT_LocalInterfaceAddressTrust trust); + int addLocalInterfaceAddress(const struct sockaddr_storage *addr,ZT_LocalInterfaceAddressTrust trust); void clearLocalInterfaceAddresses(); void setNetconfMaster(void *networkControllerInstance); ZT_ResultCode circuitTestBegin(ZT_CircuitTest *test,void (*reportCallback)(ZT_Node *,ZT_CircuitTest *,const ZT_CircuitTestReport *)); @@ -207,7 +207,7 @@ public: /** * @return Potential direct paths to me a.k.a. local interface addresses */ - inline std::vector<Path> directPaths() const + inline std::vector<InetAddress> directPaths() const { Mutex::Lock _l(_directPaths_m); return _directPaths; @@ -285,7 +285,7 @@ private: std::vector< ZT_CircuitTest * > _circuitTests; Mutex _circuitTests_m; - std::vector<Path> _directPaths; + std::vector<InetAddress> _directPaths; Mutex _directPaths_m; Mutex _backgroundTasksLock; |
