op_usm_users: fix indentation in SNMP_OP_SET block

MFC after:	3 days
This commit is contained in:
Enji Cooper 2017-01-05 08:27:23 +00:00
parent 446bd8a476
commit 994c8618ec
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=311384

View File

@ -167,7 +167,7 @@ op_usm_users(struct snmp_context *ctx, struct snmp_value *val,
if ((uuser = usm_get_user(&val->var, sub)) == NULL &&
val->var.subs[sub - 1] != LEAF_usmUserStatus &&
val->var.subs[sub - 1] != LEAF_usmUserCloneFrom)
return (SNMP_ERR_NOSUCHNAME);
return (SNMP_ERR_NOSUCHNAME);
if (community != COMM_INITIALIZE &&
uuser->type == StorageType_readOnly)