summaryrefslogtreecommitdiffstats
path: root/sys/netgraph/ng_pptpgre.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/netgraph/ng_pptpgre.c')
-rw-r--r--sys/netgraph/ng_pptpgre.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/sys/netgraph/ng_pptpgre.c b/sys/netgraph/ng_pptpgre.c
index 2ef8d50..1799ad0 100644
--- a/sys/netgraph/ng_pptpgre.c
+++ b/sys/netgraph/ng_pptpgre.c
@@ -191,19 +191,19 @@ static void ng_pptpgre_reset(node_p node);
static pptptime_t ng_pptpgre_time(node_p node);
/* Parse type for struct ng_pptpgre_conf */
-static const struct ng_parse_struct_info
- ng_pptpgre_conf_type_info = NG_PPTPGRE_CONF_TYPE_INFO;
+static const struct ng_parse_struct_field ng_pptpgre_conf_type_fields[]
+ = NG_PPTPGRE_CONF_TYPE_INFO;
static const struct ng_parse_type ng_pptpgre_conf_type = {
&ng_parse_struct_type,
- &ng_pptpgre_conf_type_info,
+ &ng_pptpgre_conf_type_fields,
};
/* Parse type for struct ng_pptpgre_stats */
-static const struct ng_parse_struct_info
- ng_pptpgre_stats_type_info = NG_PPTPGRE_STATS_TYPE_INFO;
+static const struct ng_parse_struct_field ng_pptpgre_stats_type_fields[]
+ = NG_PPTPGRE_STATS_TYPE_INFO;
static const struct ng_parse_type ng_pptp_stats_type = {
&ng_parse_struct_type,
- &ng_pptpgre_stats_type_info
+ &ng_pptpgre_stats_type_fields
};
/* List of commands and how to convert arguments to/from ASCII */
OpenPOWER on IntegriCloud