mirror of
https://github.com/spacedriveapp/spacedrive.git
synced 2026-10-24 09:58:35 -04:00
Eng 432 refactor mdns service/state (#604)
clean up mdns state and refactor advertisement system
This commit is contained in:
1 parent
0c25239c53
commit
1978e2ff48
5 files changed
+155
-142
No files matched your search
@@ -227,7 +227,7 @@ impl P2PManager {
|
||||
let mut len_buf = len.to_le_bytes();
|
||||
debug_assert_eq!(len_buf.len(), 4);
|
||||
|
||||
head_buf.extend_from_slice(&mut len_buf);
|
||||
head_buf.extend_from_slice(&len_buf);
|
||||
head_buf.append(&mut buf);
|
||||
|
||||
self.manager.broadcast(head_buf).await;
|
||||
|
||||
Reference in new issue
Block a user