mirror of
https://dev.iopsys.eu/bbf/bbfdm.git
synced 2025-12-10 07:44:39 +01:00
Refs #2862: TR181 : issues related to Lowerlayers management and order dependency
This commit is contained in:
parent
bc400a368d
commit
8780d08ad2
1 changed files with 3 additions and 0 deletions
|
|
@ -1050,6 +1050,9 @@ static int set_EthernetLink_LowerLayers(char *refparam, struct dmctx *ctx, void
|
|||
// Get the device name
|
||||
char *device = get_device(interface);
|
||||
|
||||
//Generate the device name for bridge as br-<NETWORK> if it is not available via ubus yet.
|
||||
if (*device == '\0')
|
||||
dmasprintf(&device, "br-%s", interface);
|
||||
// Get dmmap section
|
||||
dmuci_set_value_by_section(((struct dm_args *)data)->section, "device", device);
|
||||
dmuci_set_value_by_section(((struct dm_args *)data)->section, "section_name", interface);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue