mirror of
https://github.com/zerotier/ZeroTierOne.git
synced 2025-01-18 18:56:24 +00:00
no toString() method on peer. Commenting out for now.
This commit is contained in:
parent
6080a45c9c
commit
c16ad053b6
@ -393,9 +393,9 @@ bool Network::_isAllowed(const SharedPtr<Peer> &peer) const
|
|||||||
return true;
|
return true;
|
||||||
return ((_config->com())&&(peer->networkMembershipCertificatesAgree(_id,_config->com())));
|
return ((_config->com())&&(peer->networkMembershipCertificatesAgree(_id,_config->com())));
|
||||||
} catch (std::exception &exc) {
|
} 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->toString().c_str() */,exc.what());
|
||||||
} catch ( ... ) {
|
} 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.toString().c_str()*/);
|
||||||
}
|
}
|
||||||
return false; // default position on any failure
|
return false; // default position on any failure
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user