mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2025-12-26 11:10:09 +01:00
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:
parent
3e47d370af
commit
338672394f
1 changed files with 6 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue