summaryrefslogtreecommitdiffstats
path: root/sys/netgraph/ng_l2tp.c
diff options
context:
space:
mode:
authorarchie <archie@FreeBSD.org>2004-04-04 21:33:09 +0000
committerarchie <archie@FreeBSD.org>2004-04-04 21:33:09 +0000
commitf9ee16aaa95690d29032ca5afd4efcb6e20ec0ed (patch)
tree51c9a35e6bbf5e8f38f90a3bd0ba3d7527fe5e20 /sys/netgraph/ng_l2tp.c
parent5c9d10d927c7500e42fce5c7a98529cdcc641f35 (diff)
downloadFreeBSD-src-f9ee16aaa95690d29032ca5afd4efcb6e20ec0ed.zip
FreeBSD-src-f9ee16aaa95690d29032ca5afd4efcb6e20ec0ed.tar.gz
Rename internal structure to fix cut & paste error.
Submitted by: Bjoern A. Zeeb <bzeeb+freebsd@zabbadoz.net> MFC After: 3 days
Diffstat (limited to 'sys/netgraph/ng_l2tp.c')
-rw-r--r--sys/netgraph/ng_l2tp.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/netgraph/ng_l2tp.c b/sys/netgraph/ng_l2tp.c
index df972a0..2d5c195 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,
OpenPOWER on IntegriCloud