mirror of
https://git.FreeBSD.org/src.git
synced 2025-01-01 12:19:28 +00:00
Fix typo. Clear session stats instead of config and part of stats.
Found with: Coverity Prevent(tm) CID: 2472
This commit is contained in:
parent
9bd352d6fd
commit
b023993708
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=185182
@ -733,7 +733,7 @@ ng_l2tp_reset_session(hook_p hook, void *arg)
|
||||
if (hpriv != NULL) {
|
||||
hpriv->conf.control_dseq = 0;
|
||||
hpriv->conf.enable_dseq = 0;
|
||||
bzero(&hpriv->conf, sizeof(struct ng_l2tp_session_stats));
|
||||
bzero(&hpriv->stats, sizeof(struct ng_l2tp_session_stats));
|
||||
hpriv->nr = 0;
|
||||
hpriv->ns = 0;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user