From: Yu Watanabe Date: Mon, 27 Sep 2021 16:32:40 +0000 (+0900) Subject: sd-lldp: constify OUI X-Git-Tag: v250-rc1~613^2~4 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=19b68e9e960d8f7db74c3f5ae0e2a25460a37b34;p=thirdparty%2Fsystemd.git sd-lldp: constify OUI --- diff --git a/src/systemd/sd-lldp.h b/src/systemd/sd-lldp.h index 30392d75ff9..d615d404602 100644 --- a/src/systemd/sd-lldp.h +++ b/src/systemd/sd-lldp.h @@ -89,10 +89,10 @@ enum { SD_LLDP_SYSTEM_CAPABILITIES_SVLAN | \ SD_LLDP_SYSTEM_CAPABILITIES_TPMR)) -#define SD_LLDP_OUI_802_1 (uint8_t[]) { 0x00, 0x80, 0xc2 } -#define SD_LLDP_OUI_802_3 (uint8_t[]) { 0x00, 0x12, 0x0f } +#define SD_LLDP_OUI_802_1 (const uint8_t[]) { 0x00, 0x80, 0xc2 } +#define SD_LLDP_OUI_802_3 (const uint8_t[]) { 0x00, 0x12, 0x0f } -#define SD_LLDP_OUI_MUD (uint8_t[]) { 0x00, 0x00, 0x5E } +#define SD_LLDP_OUI_MUD (const uint8_t[]) { 0x00, 0x00, 0x5E } #define SD_LLDP_OUI_SUBTYPE_MUD_USAGE_DESCRIPTION 0x01 /* IEEE 802.1AB-2009 Annex E */