From 3cbbb3e6787ad002cae3e1c80179af7d4d6cf9e7 Mon Sep 17 00:00:00 2001 From: Tom Gundersen Date: Sat, 29 Mar 2014 23:53:03 +0100 Subject: sd-rtnl: types - hook up bond types Reported by Thomas Hindoe Paaboel Andersen --- src/libsystemd/sd-rtnl/rtnl-types.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/libsystemd/sd-rtnl/rtnl-types.c b/src/libsystemd/sd-rtnl/rtnl-types.c index 936073e49c..29ee5bc1c8 100644 --- a/src/libsystemd/sd-rtnl/rtnl-types.c +++ b/src/libsystemd/sd-rtnl/rtnl-types.c @@ -122,6 +122,8 @@ static const char* const nl_union_link_info_data_table[_NL_UNION_LINK_INFO_DATA_ DEFINE_STRING_TABLE_LOOKUP(nl_union_link_info_data, NLUnionLinkInfoData); static const NLTypeSystem rtnl_link_info_data_type_systems[_NL_UNION_LINK_INFO_DATA_MAX] = { + [NL_UNION_LINK_INFO_DATA_BOND] = { .max = ELEMENTSOF(rtnl_link_info_data_bond_types) - 1, + .types = rtnl_link_info_data_bond_types }, [NL_UNION_LINK_INFO_DATA_BRIDGE] = { .max = ELEMENTSOF(rtnl_link_info_data_bridge_types) - 1, .types = rtnl_link_info_data_bridge_types }, [NL_UNION_LINK_INFO_DATA_VLAN] = { .max = ELEMENTSOF(rtnl_link_info_data_vlan_types) - 1, -- cgit v1.2.3-54-g00ecf