Skip to content
Snippets Groups Projects
Commit 77d96e92 authored by INAGAKI Hiroshi's avatar INAGAKI Hiroshi Committed by Rafał Miłecki
Browse files

base-files: fix configuration generation of network if "bridge" exists


After the commit 43fc7206
("base-files: generate "device UCI type section for bridge"), the wrong
network configuration is generated for the devices that already have the
bridge device section for VLAN, such as the devices in realtek target.

As a result, the bridge device by additional "device" section is
specified to the "ports" option in the "bridge-vlan" section and netifd
shuts down the switch and the ethernet when the network service started.

Fixes: 43fc7206 ("base-files: generate "device" UCI type section for bridge")
Signed-off-by: default avatarINAGAKI Hiroshi <musashino.open@gmail.com>
[rmilecki: use $ports for generate_bridge_vlan argument]
Signed-off-by: default avatarRafał Miłecki <rafal@milecki.pl>
(cherry picked from commit 8cc4e87a)
parent fc605c01
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment