mirror of
https://dev.iopsys.eu/bbf/bbfdm.git
synced 2026-02-06 20:10:43 +01:00
Ticket refs #6062: LowerLayers of IP.Interface. will remain empty for around 15 seconds When a new interface is created
This commit is contained in:
parent
5c35877233
commit
d804ec0d57
1 changed files with 5 additions and 0 deletions
|
|
@ -1276,6 +1276,11 @@ static int get_IPInterface_LowerLayers(char *refparam, struct dmctx *ctx, void *
|
|||
}
|
||||
|
||||
char *device = get_device(section_name((struct uci_section *)data));
|
||||
|
||||
/* If the device value is empty, then get its value directly from device option */
|
||||
if (device && *device == '\0')
|
||||
dmuci_get_value_by_section_string((struct uci_section *)data, "device", &device);
|
||||
|
||||
if (device[0] != '\0') {
|
||||
adm_entry_get_linker_param(ctx, "Device.Ethernet.VLANTermination.", device, value);
|
||||
if (*value != NULL)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue