mirror of
https://dev.iopsys.eu/bbf/bbfdm.git
synced 2025-12-10 07:44:39 +01:00
Successfull creation of QinQ (double vlan) interface
This commit is contained in:
parent
257a631c5d
commit
4b64f252d9
1 changed files with 3 additions and 1 deletions
|
|
@ -1233,7 +1233,9 @@ static int get_EthernetVLANTermination_LowerLayers(char *refparam, struct dmctx
|
|||
char *inner_vid, *dev_name;
|
||||
|
||||
dmuci_get_value_by_section_string(((struct dmmap_dup *)data)->config_section, "inner_vid", &inner_vid);
|
||||
dmasprintf(&dev_name, "%s.%s", name, inner_vid);
|
||||
if (*ifname == '\0' || *inner_vid == '\0')
|
||||
return -1;
|
||||
dmasprintf(&dev_name, "%s.%s", ifname, inner_vid);
|
||||
adm_entry_get_linker_param(ctx, "Device.Ethernet.VLANTermination.", dev_name, value);
|
||||
} else {
|
||||
adm_entry_get_linker_param(ctx, "Device.Ethernet.Link.", name, value);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue