diff options
| author | Adam Ierymenko <adam.ierymenko@gmail.com> | 2015-07-07 08:54:48 -0700 |
|---|---|---|
| committer | Adam Ierymenko <adam.ierymenko@gmail.com> | 2015-07-07 08:54:48 -0700 |
| commit | c863ff3f02e9d68eb9bea32160d252eaddb7f1f5 (patch) | |
| tree | fee1fd7b40123e7f9b015f803cc3b523b8e0aa9a /node/Node.hpp | |
| parent | f398952a6c03574e5947f6dfe5ea0f7b0f0b5224 (diff) | |
| download | infinitytier-c863ff3f02e9d68eb9bea32160d252eaddb7f1f5.tar.gz infinitytier-c863ff3f02e9d68eb9bea32160d252eaddb7f1f5.zip | |
A bunch of comments and cleanup, including some to yesterday's direct path pushing changes. Move path viability check to one place, and stop trying to use link-local addresses since they are not reliable.
Diffstat (limited to 'node/Node.hpp')
| -rw-r--r-- | node/Node.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/node/Node.hpp b/node/Node.hpp index 1c260545..fe31576c 100644 --- a/node/Node.hpp +++ b/node/Node.hpp @@ -104,7 +104,7 @@ public: ZT1_VirtualNetworkConfig *networkConfig(uint64_t nwid) const; ZT1_VirtualNetworkList *networks() const; void freeQueryResult(void *qr); - void addLocalInterfaceAddress(const struct sockaddr_storage *addr,int metric,ZT1_LocalInterfaceAddressTrust trust,int reliable); + int addLocalInterfaceAddress(const struct sockaddr_storage *addr,int metric,ZT1_LocalInterfaceAddressTrust trust,int reliable); void clearLocalInterfaceAddresses(); void setNetconfMaster(void *networkControllerInstance); |
