mirror of
https://github.com/systemd/systemd-stable.git
synced 2025-02-03 13:47:04 +03:00
sd-rtnl: Always enable IFA_FLAGS
IFA_FLAGS is a discrete value and has no preprocessor #define defined for it. Fix this by always using the value.
This commit is contained in:
parent
4034a06ddb
commit
350e7a14dd
@ -358,9 +358,7 @@ static const NLType rtnl_address_types[IFA_MAX + 1] = {
|
||||
[IFA_ANYCAST],
|
||||
[IFA_MULTICAST],
|
||||
*/
|
||||
#ifdef IFA_FLAGS
|
||||
[IFA_FLAGS] = { .type = NLA_U32 },
|
||||
#endif
|
||||
};
|
||||
|
||||
static const NLTypeSystem rtnl_address_type_system = {
|
||||
|
Loading…
x
Reference in New Issue
Block a user