diff options
author | Yu Watanabe <watanabe.yu+github@gmail.com> | 2021-09-28 01:32:40 +0900 |
---|---|---|
committer | Yu Watanabe <watanabe.yu+github@gmail.com> | 2021-09-28 01:32:40 +0900 |
commit | 19b68e9e960d8f7db74c3f5ae0e2a25460a37b34 (patch) | |
tree | 7bf49af0a7ba7831710661bc213841bb6f5e291b /src/systemd/sd-lldp.h | |
parent | 910fd79e8ef069bb7a79081c0e5f62b044dc0b17 (diff) | |
download | systemd-19b68e9e960d8f7db74c3f5ae0e2a25460a37b34.tar.gz |
sd-lldp: constify OUI
Diffstat (limited to 'src/systemd/sd-lldp.h')
-rw-r--r-- | src/systemd/sd-lldp.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/systemd/sd-lldp.h b/src/systemd/sd-lldp.h index 30392d75ff..d615d40460 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 */ |