]> git.ipfire.org Git - thirdparty/shairport-sync.git/commitdiff
Make the hw_addr 8 bytes long to that it can be read from as a 64-bit number.
authorMike Brady <4265913+mikebrady@users.noreply.github.com>
Thu, 23 Dec 2021 19:15:17 +0000 (19:15 +0000)
committerMike Brady <4265913+mikebrady@users.noreply.github.com>
Thu, 23 Dec 2021 19:15:17 +0000 (19:15 +0000)
common.h

index d9be03272aacccf4e3f4817d49360e49c4004567..f4139e56d0e6877b261af47e8c581aa6c36fd593 100644 (file)
--- a/common.h
+++ b/common.h
@@ -152,7 +152,7 @@ typedef struct {
   int mqtt_publish_cover;
   int mqtt_enable_remote;
 #endif
-  uint8_t hw_addr[6];
+  uint8_t hw_addr[8];    // only needs 6 but 8 is handy when converting this to a number
   int port;
   int udp_port_base;
   int udp_port_range;