diff options
| author | Adam Ierymenko <adam.ierymenko@gmail.com> | 2014-07-17 13:08:37 -0700 |
|---|---|---|
| committer | Adam Ierymenko <adam.ierymenko@gmail.com> | 2014-07-17 13:08:37 -0700 |
| commit | 51766e6549ebf0e8e9e668549f28cc1331d1912b (patch) | |
| tree | 6375eb5b9517762cbf07b6f00a2a411ca9da80e3 /node/RoutingTable.cpp | |
| parent | d3151567331716341210fe957df69fd2a705dc8b (diff) | |
| download | infinitytier-51766e6549ebf0e8e9e668549f28cc1331d1912b.tar.gz infinitytier-51766e6549ebf0e8e9e668549f28cc1331d1912b.zip | |
BSD routing table works... that hurt much worse than it should have.
Diffstat (limited to 'node/RoutingTable.cpp')
| -rw-r--r-- | node/RoutingTable.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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() : "<link>"),device,metric); return std::string(tmp); } |
