Log remote IP (#281)

This commit is contained in:
Maciej Hirsz
2020-08-25 18:10:32 +02:00
committed by GitHub
parent a721cc4e42
commit 390a5a36f4
+2
View File
@@ -48,6 +48,8 @@ impl Actor for NodeConnector {
impl NodeConnector {
pub fn new(aggregator: Addr<Aggregator>, locator: Recipient<LocateRequest>, ip: Option<Ipv4Addr>) -> Self {
info!("Node connected: {:?}", ip);
Self {
// Garbage id, will be replaced by the Initialize message
nid: !0,