aboutsummaryrefslogtreecommitdiff
path: root/sys/netgraph/ng_tee.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_tee.c
parentcbcfdbcfe6add167e910cf92c7def46c278a933b (diff)
Notes
Diffstat (limited to 'sys/netgraph/ng_tee.c')
-rw-r--r--sys/netgraph/ng_tee.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/sys/netgraph/ng_tee.c b/sys/netgraph/ng_tee.c
index 8cac1b132582..877ef169e9e1 100644
--- a/sys/netgraph/ng_tee.c
+++ b/sys/netgraph/ng_tee.c
@@ -85,19 +85,19 @@ static ng_rcvdata_t ngt_rcvdata;
static ng_disconnect_t ngt_disconnect;
/* Parse type for struct ng_tee_hookstat */
-static const struct ng_parse_struct_info
- ng_tee_hookstat_type_info = NG_TEE_HOOKSTAT_INFO;
+static const struct ng_parse_struct_field ng_tee_hookstat_type_fields[]
+ = NG_TEE_HOOKSTAT_INFO;
static const struct ng_parse_type ng_tee_hookstat_type = {
&ng_parse_struct_type,
- &ng_tee_hookstat_type_info,
+ &ng_tee_hookstat_type_fields
};
/* Parse type for struct ng_tee_stats */
-static const struct ng_parse_struct_info
- ng_tee_stats_type_info = NG_TEE_STATS_INFO(&ng_tee_hookstat_type);
+static const struct ng_parse_struct_field ng_tee_stats_type_fields[]
+ = NG_TEE_STATS_INFO(&ng_tee_hookstat_type);
static const struct ng_parse_type ng_tee_stats_type = {
&ng_parse_struct_type,
- &ng_tee_stats_type_info,
+ &ng_tee_stats_type_fields
};
/* List of commands and how to convert arguments to/from ASCII */