Fix boolean doc variables

This commit is contained in:
Vivek Kumar Dutta 2023-04-16 16:34:11 +05:30
parent 5f488a0b3d
commit 3611928cdd
3 changed files with 3 additions and 2 deletions

View file

@ -1 +1 @@
hide: "true"
hide: true

View file

@ -1 +1 @@
hide: "true"
hide: true

View file

@ -2323,6 +2323,7 @@ static int br_get_ubus_eth(const struct bridge_port_args *br, const char *name,
char *device = NULL;
char *config = NULL;
DM_ASSERT(br, *value = "0");
dmuci_get_value_by_section_string(br->bridge_port_sec, "ifname", &device);
dmuci_get_value_by_section_string(br->bridge_port_dmmap_sec, "config", &config);