aboutsummaryrefslogtreecommitdiff
path: root/sys/netgraph/ng_one2many.c
diff options
context:
space:
mode:
authorArchie Cobbs <archie@FreeBSD.org>2002-05-31 23:48:03 +0000
committerArchie Cobbs <archie@FreeBSD.org>2002-05-31 23:48:03 +0000
commitf0184ff8e3b84a1c7273492d8854cfaa012060b5 (patch)
treea3614f18ebb460f641055c46c1ae4703125a0458 /sys/netgraph/ng_one2many.c
parentcbcfdbcfe6add167e910cf92c7def46c278a933b (diff)
downloadsrc-f0184ff8e3b84a1c7273492d8854cfaa012060b5.tar.gz
src-f0184ff8e3b84a1c7273492d8854cfaa012060b5.zip
Notes
Diffstat (limited to 'sys/netgraph/ng_one2many.c')
-rw-r--r--sys/netgraph/ng_one2many.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/sys/netgraph/ng_one2many.c b/sys/netgraph/ng_one2many.c
index da1c7eb88679..bd863e971d47 100644
--- a/sys/netgraph/ng_one2many.c
+++ b/sys/netgraph/ng_one2many.c
@@ -105,19 +105,19 @@ static const struct ng_parse_type ng_one2many_enableLinks_array_type = {
&ng_parse_fixedarray_type,
&ng_one2many_enableLinks_array_type_info,
};
-static const struct ng_parse_struct_info ng_one2many_config_type_info
+static const struct ng_parse_struct_field ng_one2many_config_type_fields[]
= NG_ONE2MANY_CONFIG_TYPE_INFO(&ng_one2many_enableLinks_array_type);
static const struct ng_parse_type ng_one2many_config_type = {
&ng_parse_struct_type,
- &ng_one2many_config_type_info,
+ &ng_one2many_config_type_fields
};
/* Parse type for struct ng_one2many_link_stats */
-static const struct ng_parse_struct_info
- ng_one2many_link_stats_type_info = NG_ONE2MANY_LINK_STATS_TYPE_INFO;
+static const struct ng_parse_struct_field ng_one2many_link_stats_type_fields[]
+ = NG_ONE2MANY_LINK_STATS_TYPE_INFO;
static const struct ng_parse_type ng_one2many_link_stats_type = {
&ng_parse_struct_type,
- &ng_one2many_link_stats_type_info
+ &ng_one2many_link_stats_type_fields
};
/* List of commands and how to convert arguments to/from ASCII */