mirror of
https://dev.iopsys.eu/bbf/bbfdm.git
synced 2025-12-10 07:44:39 +01:00
Bridge.Port: create an instance only if the ifname option is not empty
This commit is contained in:
parent
f2ce98d970
commit
1b2a2aaae6
1 changed files with 2 additions and 0 deletions
|
|
@ -848,6 +848,8 @@ static void dmmap_synchronizeBridgingBridgePort(struct dmctx *dmctx, DMNODE *par
|
|||
|
||||
// get ifname from wireless/wifi-iface section
|
||||
dmuci_get_value_by_section_string(s, "ifname", &ifname);
|
||||
if (DM_STRLEN(ifname) == 0)
|
||||
continue;
|
||||
|
||||
if (is_section_exist("dmmap_bridge_port", "bridge_port", "br_inst", args->br_inst, "port", ifname))
|
||||
continue;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue