From 51766e6549ebf0e8e9e668549f28cc1331d1912b Mon Sep 17 00:00:00 2001 From: Adam Ierymenko Date: Thu, 17 Jul 2014 13:08:37 -0700 Subject: BSD routing table works... that hurt much worse than it should have. --- node/RoutingTable.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'node/RoutingTable.cpp') diff --git a/node/RoutingTable.cpp b/node/RoutingTable.cpp index 1f4c5327..9534b321 100644 --- a/node/RoutingTable.cpp +++ b/node/RoutingTable.cpp @@ -39,7 +39,7 @@ namespace ZeroTier { std::string RoutingTable::Entry::toString() const { char tmp[1024]; - Utils::snprintf(tmp,sizeof(tmp),"%s %s %s %d",destination.toString().c_str(),((gateway) ? gateway.toIpString().c_str() : "(link)"),device,metric); + Utils::snprintf(tmp,sizeof(tmp),"%s %s %s %d",destination.toString().c_str(),((gateway) ? gateway.toIpString().c_str() : ""),device,metric); return std::string(tmp); } -- cgit v1.2.3