mirror of
https://dev.iopsys.eu/bbf/bbfdm.git
synced 2025-12-10 07:44:39 +01:00
Get Name: Don't return micro-service error when calling 'Device.' or empty path with next-level is false
This commit is contained in:
parent
d5d84ae1da
commit
41d4e915e3
1 changed files with 2 additions and 1 deletions
|
|
@ -1880,7 +1880,8 @@ static int mobj_get_name(DMOBJECT_ARGS)
|
|||
static int mparam_get_name(DMPARAM_ARGS)
|
||||
{
|
||||
if (node->is_ubus_service) {
|
||||
return get_ubus_name(dmctx, node);
|
||||
get_ubus_name(dmctx, node);
|
||||
return 0;
|
||||
} else {
|
||||
char *refparam;
|
||||
char *perm = leaf->permission->val;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue