From 0b354803f3ea0eecd046a37c51d4d2d78934b502 Mon Sep 17 00:00:00 2001 From: Adam Ierymenko Date: Mon, 13 Jul 2015 10:03:04 -0700 Subject: Clean up some YAGNI issues with implementation of GitHub issue #180, and make best path choice aware of path rank. --- include/ZeroTierOne.h | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'include') diff --git a/include/ZeroTierOne.h b/include/ZeroTierOne.h index 446bbc77..7ae524a8 100644 --- a/include/ZeroTierOne.h +++ b/include/ZeroTierOne.h @@ -73,7 +73,7 @@ extern "C" { * * If this does change, also change it in tap.h in the tuntaposx code under * mac-tap. - * + * * Overhead for a normal frame split into two packets: * * 1414 = 1444 (typical UDP MTU) - 28 (packet header) - 2 (ethertype) @@ -987,10 +987,9 @@ void ZT1_Node_freeQueryResult(ZT1_Node *node,void *qr); * @param addr Local interface address * @param metric Local interface metric * @param trust How much do you trust the local network under this interface? - * @param reliable If nonzero, this interface doesn't link to anything behind a NAT or stateful firewall * @return Boolean: non-zero if address was accepted and added */ -int ZT1_Node_addLocalInterfaceAddress(ZT1_Node *node,const struct sockaddr_storage *addr,int metric,ZT1_LocalInterfaceAddressTrust trust,int reliable); +int ZT1_Node_addLocalInterfaceAddress(ZT1_Node *node,const struct sockaddr_storage *addr,int metric,ZT1_LocalInterfaceAddressTrust trust); /** * Clear local interface addresses -- cgit v1.2.3