mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2025-01-11 17:04:19 +01:00
Fix copy-paste bug in NGM_NETFLOW_SETCONFIG argument size verification.
PR: kern/134220 Submitted by: Eugene Mychlo MFC after: 1 week
This commit is contained in:
parent
c5136006b2
commit
b1f26c738c
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=192032
@ -422,7 +422,7 @@ ng_netflow_rcvmsg (node_p node, item_p item, hook_p lasthook)
|
||||
{
|
||||
struct ng_netflow_setconfig *set;
|
||||
|
||||
if (msg->header.arglen != sizeof(struct ng_netflow_settimeouts))
|
||||
if (msg->header.arglen != sizeof(struct ng_netflow_setconfig))
|
||||
ERROUT(EINVAL);
|
||||
|
||||
set = (struct ng_netflow_setconfig *)msg->data;
|
||||
|
Loading…
Reference in New Issue
Block a user