mirror of
https://dev.iopsys.eu/bbf/bbfdm.git
synced 2025-12-10 07:44:39 +01:00
Bug#8928 bridge_empty set in wrong section
This commit is contained in:
parent
9eead0029a
commit
2d1be22c3c
1 changed files with 1 additions and 1 deletions
|
|
@ -1557,13 +1557,13 @@ static int addObjBridgingBridge(char *refparam, struct dmctx *ctx, void *data, c
|
|||
dmuci_add_section("network", "interface", &s);
|
||||
dmuci_rename_section_by_section(s, iface_s_name);
|
||||
dmuci_set_value_by_section(s, "device", device_name);
|
||||
dmuci_set_value_by_section(s, "bridge_empty", "1");
|
||||
|
||||
// Add device bridge section
|
||||
dmuci_add_section("network", "device", &s);
|
||||
dmuci_rename_section_by_section(s, dev_s_name);
|
||||
dmuci_set_value_by_section(s, "name", device_name);
|
||||
dmuci_set_value_by_section(s, "type", "bridge");
|
||||
dmuci_set_value_by_section(s, "bridge_empty", "1");
|
||||
|
||||
// Add dmmap bridge section
|
||||
dmuci_add_section_bbfdm("dmmap_bridge", "device", &dmmap_bridge);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue