diff options
author | Tom Gundersen <teg@jklm.no> | 2014-03-29 23:53:03 +0100 |
---|---|---|
committer | Tom Gundersen <teg@jklm.no> | 2014-03-29 23:53:03 +0100 |
commit | 3cbbb3e6787ad002cae3e1c80179af7d4d6cf9e7 (patch) | |
tree | 015e4dccb150f15413fdddd3c788d20e9a85ed38 /src/libsystemd | |
parent | 0834ff93c3ec4d22ce58ae84baae8bb3126da0b6 (diff) |
sd-rtnl: types - hook up bond types
Reported by Thomas Hindoe Paaboel Andersen <phomes@gmail.com>
Diffstat (limited to 'src/libsystemd')
-rw-r--r-- | src/libsystemd/sd-rtnl/rtnl-types.c | 2 |
1 files changed, 2 insertions, 0 deletions
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, |