platform: fix compilation for new bond options

CentOS 7's headers don't yet contains IFLA_BOND_PEER_NOTIF_DELAY.
Define it ourselves.

Fixes: f900f7bc2c ('platform: add netlink support for bond link')
This commit is contained in:
Thomas Haller 2022-08-08 14:25:28 +02:00
parent 3e47d370af
commit 338672394f
No known key found for this signature in database
GPG key ID: 29C2366E4DFC5728

View file

@ -177,6 +177,12 @@ G_STATIC_ASSERT(RTA_MAX == (__RTA_MAX - 1));
/*****************************************************************************/
#define IFLA_BOND_PEER_NOTIF_DELAY 28
#undef IFLA_BOND_MAX
/*****************************************************************************/
/* Appeared in the kernel prior to 3.13 dated 19 January, 2014 */
#ifndef ARPHRD_6LOWPAN
#define ARPHRD_6LOWPAN 825