Merge r260046: Fix the parse type for NGM_LISTTYPES.

This commit is contained in:
glebius 2014-01-22 10:38:01 +00:00
parent 6cb9337539
commit 929fc2bbee

View File

@ -468,7 +468,7 @@ static const struct ng_parse_type ng_generic_linkinfo_array_type = {
&ng_generic_linkinfo_array_type_info
};
DEFINE_PARSE_STRUCT_TYPE(typelist, TYPELIST, (&ng_generic_nodeinfoarray_type));
DEFINE_PARSE_STRUCT_TYPE(typelist, TYPELIST, (&ng_generic_typeinfoarray_type));
DEFINE_PARSE_STRUCT_TYPE(hooklist, HOOKLIST,
(&ng_generic_nodeinfo_type, &ng_generic_linkinfo_array_type));
DEFINE_PARSE_STRUCT_TYPE(listnodes, LISTNODES,
@ -544,7 +544,7 @@ static const struct ng_cmdlist ng_generic_cmds[] = {
NGM_LISTTYPES,
"listtypes",
NULL,
&ng_generic_typeinfo_type
&ng_generic_typelist_type
},
{
NGM_GENERIC_COOKIE,