From: Patrik Flykt Date: Wed, 25 Mar 2015 11:19:21 +0000 (+0200) Subject: sd-rtnl: Always enable IFA_FLAGS X-Git-Tag: v219.0~229 X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=commitdiff_plain;h=350e7a14dd66d79cbc94f4b49b6a58ccb8a4d1c1 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. --- diff --git a/src/libsystemd/sd-rtnl/rtnl-types.c b/src/libsystemd/sd-rtnl/rtnl-types.c index bf7278fe4..5ae47900a 100644 --- a/src/libsystemd/sd-rtnl/rtnl-types.c +++ b/src/libsystemd/sd-rtnl/rtnl-types.c @@ -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 = {