diff options
author | Adam Ierymenko <adam.ierymenko@gmail.com> | 2015-07-13 10:03:04 -0700 |
---|---|---|
committer | Adam Ierymenko <adam.ierymenko@gmail.com> | 2015-07-13 10:03:04 -0700 |
commit | 0b354803f3ea0eecd046a37c51d4d2d78934b502 (patch) | |
tree | f5c2afa2c57b0726047a43b6b4c681d9b161999a /service | |
parent | 0b9524f23d96ad4752a2a2cace92bc1c0306b1b6 (diff) | |
download | infinitytier-0b354803f3ea0eecd046a37c51d4d2d78934b502.tar.gz infinitytier-0b354803f3ea0eecd046a37c51d4d2d78934b502.zip |
Clean up some YAGNI issues with implementation of GitHub issue #180, and make best path choice aware of path rank.
Diffstat (limited to 'service')
-rw-r--r-- | service/OneService.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/service/OneService.cpp b/service/OneService.cpp index bde59d56..312e0bf2 100644 --- a/service/OneService.cpp +++ b/service/OneService.cpp @@ -592,7 +592,7 @@ public: if (!isZT) { InetAddress ip(ifa->ifa_addr); ip.setPort(_port); - _node->addLocalInterfaceAddress(reinterpret_cast<const struct sockaddr_storage *>(&ip),0,ZT1_LOCAL_INTERFACE_ADDRESS_TRUST_NORMAL,0); + _node->addLocalInterfaceAddress(reinterpret_cast<const struct sockaddr_storage *>(&ip),0,ZT1_LOCAL_INTERFACE_ADDRESS_TRUST_NORMAL); } } ifa = ifa->ifa_next; |