base-files: set MAC for bridge ports (devices) instead of bridge itself
authorRafał Miłecki <rafal@milecki.pl>
Mon, 14 Jun 2021 18:18:14 +0000 (20:18 +0200)
committerRafał Miłecki <rafal@milecki.pl>
Mon, 14 Jun 2021 18:24:46 +0000 (20:24 +0200)
commitc8d8eb9d13fc6fc8b394a620c27995ee71d29c4d
tree331ba91ace75cc1b4fdbe74c916c3059bca60373
parentf6a03bff5bccdbf9165087bccbb35095903d05c6
base-files: set MAC for bridge ports (devices) instead of bridge itself

This restores the original config_generate behaviour. With MAC set for
bridged devices the bridge automatically gets its MAC adjusted (it picks
the lowest MAC of bridged devices).

This fixes confusing interfaces setup (bridge ports not having custom
MAC assigned).

Reported-by: Koen Vandeputte <koen.vandeputte@citymesh.com>
Fixes: e002179a6d2e ("base-files: simplify setting device MAC")
Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
package/base-files/files/bin/config_generate