mirror of
https://dev.iopsys.eu/bbf/bbfdm.git
synced 2025-12-10 07:44:39 +01:00
update init of br_inst
This commit is contained in:
parent
1249617333
commit
cc35c959c1
1 changed files with 1 additions and 1 deletions
|
|
@ -2496,9 +2496,9 @@ static int fetch_and_configure_inner_vid(char *br_inst, char *type_val, char **v
|
|||
static int handle_inner_vid() {
|
||||
|
||||
struct uci_section *s = NULL, *sec = NULL;
|
||||
char *br_inst = NULL, *vid = NULL;
|
||||
|
||||
uci_foreach_sections("network", "interface", s) {
|
||||
char *br_inst = NULL, *vid = NULL;
|
||||
// Get the bridge instance.
|
||||
uci_path_foreach_option_eq(bbfdm, "dmmap_bridge_port", "bridge_port", "interface", section_name(s), sec) {
|
||||
dmuci_get_value_by_section_string(sec, "br_inst", &br_inst);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue