From 2c9027fcba09d7b0bfcefce097cc5f2f5a03da81 Mon Sep 17 00:00:00 2001 From: Archie Cobbs Date: Sun, 4 Apr 2004 21:33:09 +0000 Subject: [PATCH] Rename internal structure to fix cut & paste error. Submitted by: Bjoern A. Zeeb MFC After: 3 days --- sys/netgraph/ng_l2tp.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/sys/netgraph/ng_l2tp.c b/sys/netgraph/ng_l2tp.c index df972a01c2b..2d5c1957dbf 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,