summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorPatrik Flykt <patrik.flykt@linux.intel.com>2015-03-25 13:19:21 +0200
committerPatrik Flykt <patrik.flykt@linux.intel.com>2015-03-27 13:56:43 +0200
commit350e7a14dd66d79cbc94f4b49b6a58ccb8a4d1c1 (patch)
tree13f7c043b090c4c0d177ff32df240b15d3649fa6 /src
parent4034a06ddb82ec9868cd52496fef2f5faa25575f (diff)
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.
Diffstat (limited to 'src')
-rw-r--r--src/libsystemd/sd-rtnl/rtnl-types.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/libsystemd/sd-rtnl/rtnl-types.c b/src/libsystemd/sd-rtnl/rtnl-types.c
index bf7278fe44..5ae47900a3 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 = {