mirror of
https://dev.iopsys.eu/bbf/bbfdm.git
synced 2025-12-10 07:44:39 +01:00
Ethernet: change Link name value from device
This commit is contained in:
parent
8c8cd72622
commit
2f30e6d079
1 changed files with 1 additions and 1 deletions
|
|
@ -823,7 +823,7 @@ static int set_EthernetLink_Alias(char *refparam, struct dmctx *ctx, void *data,
|
|||
|
||||
static int get_EthernetLink_Name(char *refparam, struct dmctx *ctx, void *data, char *instance, char **value)
|
||||
{
|
||||
*value = dmstrdup(section_name(((struct dm_args *)data)->section));
|
||||
dmuci_get_value_by_section_string(((struct dm_args *)data)->section, "device", value);
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue