base-files: generate bridge device sections with br- name prefix
authorRafał Miłecki <rafal@milecki.pl>
Thu, 20 May 2021 08:32:18 +0000 (10:32 +0200)
committerRafał Miłecki <rafal@milecki.pl>
Thu, 27 May 2021 09:39:15 +0000 (11:39 +0200)
commit0d90023633248791bbeb8d2b21669c1f9a5a9a6a
treee6d8e53cbcc4bfb337fed8d7f1a9780216f61bfb
parent892fc7caa9eee9f5ef9e172677f871c02841bae8
base-files: generate bridge device sections with br- name prefix

Missing br- prefix could result in name conflict between DSA port
interface and bridge interface. Some devices with just one LAN port use
"lan" interface name for DSA port. Trying to create bridge with the same
"lan" name was failing.

Reported-by: David Bauer <mail@david-bauer.net>
Fixes: 43fc720657c6 ("base-files: generate "device" UCI type section for bridge")
Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
(cherry picked from commit 0e459668c5b3b158991803204f628b1b7dce9034)
package/base-files/files/bin/config_generate