about summary refs log tree commit diff
path: root/src/libnm-lldp/nm-lldp.h
diff options
context:
space:
mode:
authorMichael Biebl <biebl@debian.org>2025-02-12 13:46:50 +0100
committerMichael Biebl <biebl@debian.org>2025-02-12 13:46:50 +0100
commit8bdf070ff046f482f6eb5e2b15ebc216f5d1e3da (patch)
treef706478d189d54c6532e8863d4b0d5ff5575af60 /src/libnm-lldp/nm-lldp.h
parent818258cf34b83fbc754633295e1052d4752d7b15 (diff)
New upstream version 1.51.90 upstream/1.51.90
Diffstat (limited to 'src/libnm-lldp/nm-lldp.h')
-rw-r--r--src/libnm-lldp/nm-lldp.h12
1 files changed, 2 insertions, 10 deletions
diff --git a/src/libnm-lldp/nm-lldp.h b/src/libnm-lldp/nm-lldp.h
index 55e7de29..aaf87dcb 100644
--- a/src/libnm-lldp/nm-lldp.h
+++ b/src/libnm-lldp/nm-lldp.h
@@ -63,16 +63,8 @@ enum {
                  | NM_LLDP_SYSTEM_CAPABILITIES_DOCSIS | NM_LLDP_SYSTEM_CAPABILITIES_CVLAN   \
                  | NM_LLDP_SYSTEM_CAPABILITIES_SVLAN | NM_LLDP_SYSTEM_CAPABILITIES_TPMR))
 
-#define NM_LLDP_OUI_802_1 \
-    (const uint8_t[])     \
-    {                     \
-        0x00, 0x80, 0xc2  \
-    }
-#define NM_LLDP_OUI_802_3 \
-    (const uint8_t[])     \
-    {                     \
-        0x00, 0x12, 0x0f  \
-    }
+#define NM_LLDP_OUI_802_1 (const uint8_t[]){0x00, 0x80, 0xc2}
+#define NM_LLDP_OUI_802_3 (const uint8_t[]){0x00, 0x12, 0x0f}
 
 #define _SD_LLDP_OUI_IANA 0x00, 0x00, 0x5E
 #define NM_LLDP_OUI_IANA  \