LLPD_MAC_ADDR_LEN -> MAC_ADDR_LEN and memcopy instead of manually setting bytes

This commit is contained in:
Rob Emery committed 2026-10-10 09:50:01 +01:00
1 parent 735672ccf1
commit 3eacc9c8a5
2 files changed
+6 -13

No files matched your search

+1 -1
View File
@@ -7,7 +7,7 @@
#define LLDP_ETHERTYPE 0x88cc
#define LLDP_ETHERTYPE_LENGTH 2
#define LLDP_MAX_FRAME 256
#define LLDP_MAC_ADDR_LEN 6
#define MAC_ADDR_LEN 6
#define LLDP_TX_INTERVAL_SEC 30
#define LLDP_PORT_ID_TLV_TYPE 2