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:
Alexander Motin 2009-05-13 02:26:34 +00:00
parent c5136006b2
commit b1f26c738c
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=192032

View File

@ -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;