diff --git a/sys/netgraph/ng_l2tp.c b/sys/netgraph/ng_l2tp.c index df972a01c2ba..2d5c1957dbfc 100644 --- a/sys/netgraph/ng_l2tp.c +++ b/sys/netgraph/ng_l2tp.c @@ -206,7 +206,7 @@ static const struct ng_parse_type ng_l2tp_sess_config_type = { /* Parse type for struct ng_l2tp_stats */ static const struct ng_parse_struct_field ng_l2tp_stats_type_fields[] = NG_L2TP_STATS_TYPE_INFO; -static const struct ng_parse_type ng_pptp_stats_type = { +static const struct ng_parse_type ng_l2tp_stats_type = { &ng_parse_struct_type, &ng_l2tp_stats_type_fields }; @@ -246,7 +246,7 @@ static const struct ng_cmdlist ng_l2tp_cmdlist[] = { NGM_L2TP_GET_STATS, "getstats", NULL, - &ng_pptp_stats_type + &ng_l2tp_stats_type }, { NGM_L2TP_COOKIE, @@ -260,7 +260,7 @@ static const struct ng_cmdlist ng_l2tp_cmdlist[] = { NGM_L2TP_GETCLR_STATS, "getclrstats", NULL, - &ng_pptp_stats_type + &ng_l2tp_stats_type }, { NGM_L2TP_COOKIE,