summaryrefslogtreecommitdiff
path: root/service
diff options
context:
space:
mode:
authorAdam Ierymenko <adam.ierymenko@gmail.com>2015-07-13 10:03:04 -0700
committerAdam Ierymenko <adam.ierymenko@gmail.com>2015-07-13 10:03:04 -0700
commit0b354803f3ea0eecd046a37c51d4d2d78934b502 (patch)
treef5c2afa2c57b0726047a43b6b4c681d9b161999a /service
parent0b9524f23d96ad4752a2a2cace92bc1c0306b1b6 (diff)
downloadinfinitytier-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.cpp2
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;