Rename internal structure to fix cut & paste error.
Submitted by: Bjoern A. Zeeb <bzeeb+freebsd@zabbadoz.net> MFC After: 3 days
This commit is contained in:
parent
48135410c1
commit
2c9027fcba
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=127866
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user