From 2d1be22c3c6be8243d3f3fefb955eadaeda7f74a Mon Sep 17 00:00:00 2001 From: suvendhu Date: Fri, 7 Oct 2022 13:14:19 +0530 Subject: [PATCH] Bug#8928 bridge_empty set in wrong section --- dmtree/tr181/bridging.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dmtree/tr181/bridging.c b/dmtree/tr181/bridging.c index 82c01f8a..12c40670 100644 --- a/dmtree/tr181/bridging.c +++ b/dmtree/tr181/bridging.c @@ -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);