From 879cd88ecd72e2c903fac18fabf001086b6b51a4 Mon Sep 17 00:00:00 2001 From: Raine Date: Sun, 15 Oct 2023 18:06:35 +0200 Subject: [PATCH] fix: registering nodes --- domo_node/src/app/master.rs | 1 + domo_node/src/app/mod.rs | 1 + 2 files changed, 2 insertions(+) diff --git a/domo_node/src/app/master.rs b/domo_node/src/app/master.rs index 944e9c9..929b35c 100644 --- a/domo_node/src/app/master.rs +++ b/domo_node/src/app/master.rs @@ -47,6 +47,7 @@ impl Devices { socket_addr, properties: HashMap::new() }); + info!("Registered new device: {}", identifier); identifier } diff --git a/domo_node/src/app/mod.rs b/domo_node/src/app/mod.rs index 45e2eca..6abfa64 100644 --- a/domo_node/src/app/mod.rs +++ b/domo_node/src/app/mod.rs @@ -80,6 +80,7 @@ impl NodeType { p.packet_id, )).await; } + PacketData::NodeManagement(NodeManagementCommand::RegisterNode { .. }) => (), _ => warn!("dropped packet") } }