mirror of
https://github.com/zerotier/ZeroTierOne.git
synced 2025-04-07 11:17:29 +00:00
Fix TRACE output.
This commit is contained in:
parent
c16ad053b6
commit
57c857e89a
@ -393,9 +393,9 @@ bool Network::_isAllowed(const SharedPtr<Peer> &peer) const
|
||||
return true;
|
||||
return ((_config->com())&&(peer->networkMembershipCertificatesAgree(_id,_config->com())));
|
||||
} catch (std::exception &exc) {
|
||||
TRACE("isAllowed() check failed for peer %s: unexpected exception: %s","" /*peer->toString().c_str() */,exc.what());
|
||||
TRACE("isAllowed() check failed for peer %s: unexpected exception: %s",peer->address().toString().c_str(),exc.what());
|
||||
} catch ( ... ) {
|
||||
TRACE("isAllowed() check failed for peer %s: unexpected exception: unknown exception", "" /*peer.toString().c_str()*/);
|
||||
TRACE("isAllowed() check failed for peer %s: unexpected exception: unknown exception",peer->address().toString().c_str());
|
||||
}
|
||||
return false; // default position on any failure
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user