diff options
author | glebius <glebius@FreeBSD.org> | 2014-01-22 10:38:01 +0000 |
---|---|---|
committer | glebius <glebius@FreeBSD.org> | 2014-01-22 10:38:01 +0000 |
commit | 929fc2bbeeadf7ea260861cfa35271616bdb785d (patch) | |
tree | e0a292fabc4190ab73c1f0e394e4da68839de498 /sys/netgraph | |
parent | 6cb9337539a4253fc3dc2c751e7ee38d83b53d7d (diff) | |
download | FreeBSD-src-929fc2bbeeadf7ea260861cfa35271616bdb785d.zip FreeBSD-src-929fc2bbeeadf7ea260861cfa35271616bdb785d.tar.gz |
Merge r260046: Fix the parse type for NGM_LISTTYPES.
Diffstat (limited to 'sys/netgraph')
-rw-r--r-- | sys/netgraph/ng_base.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/netgraph/ng_base.c b/sys/netgraph/ng_base.c index a5fcb14..bb83fa1 100644 --- a/sys/netgraph/ng_base.c +++ b/sys/netgraph/ng_base.c @@ -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, |