From 162bdf85cc646f7b7dff8ffcb220096948a09624 Mon Sep 17 00:00:00 2001 From: Andrew King Date: Sat, 4 Sep 2021 09:20:07 +0700 Subject: [PATCH] Update crates/core/src/bcudp/model.rs Co-authored-by: George Hilliard --- crates/core/src/bcudp/model.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/crates/core/src/bcudp/model.rs b/crates/core/src/bcudp/model.rs index 667ba2c..b82c2d5 100644 --- a/crates/core/src/bcudp/model.rs +++ b/crates/core/src/bcudp/model.rs @@ -20,6 +20,7 @@ pub const MAGIC_HEADER_UDP_NEGO: u32 = 0x2a87cf3a; /// The Discovery packet is sent and received to init a connection #[derive(Debug, PartialEq, Eq)] pub struct UdpDiscovery { + // The packet also contains these header fields not deserialized into this struct: // 4 Bytes Magic // 4 Byte payload size // 4 Bytes unknown always `01000000`