fix: registering nodes
This commit is contained in:
parent
b765d3eed4
commit
879cd88ecd
2 changed files with 2 additions and 0 deletions
|
@ -47,6 +47,7 @@ impl Devices {
|
||||||
socket_addr,
|
socket_addr,
|
||||||
properties: HashMap::new()
|
properties: HashMap::new()
|
||||||
});
|
});
|
||||||
|
info!("Registered new device: {}", identifier);
|
||||||
identifier
|
identifier
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -80,6 +80,7 @@ impl NodeType {
|
||||||
p.packet_id,
|
p.packet_id,
|
||||||
)).await;
|
)).await;
|
||||||
}
|
}
|
||||||
|
PacketData::NodeManagement(NodeManagementCommand::RegisterNode { .. }) => (),
|
||||||
_ => warn!("dropped packet")
|
_ => warn!("dropped packet")
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue