diff options
author | Rafał Miłecki <rafal@milecki.pl> | 2021-05-15 21:06:27 +0200 |
---|---|---|
committer | Rafał Miłecki <rafal@milecki.pl> | 2021-05-18 20:07:51 +0200 |
commit | 43fc720657c6e3b30c6ed89d7227ee6e646c158b (patch) | |
tree | 27ddfb0225b91e1cb083c487f59bef67ad795acf /tools/mklibs/Makefile | |
parent | e88438997627764bfbe81652edf2a250e410df6a (diff) | |
download | upstream-43fc720657c6e3b30c6ed89d7227ee6e646c158b.tar.gz upstream-43fc720657c6e3b30c6ed89d7227ee6e646c158b.tar.bz2 upstream-43fc720657c6e3b30c6ed89d7227ee6e646c158b.zip |
base-files: generate "device" UCI type section for bridge
This switches from the old way of defining bridges in an "interface" UCI
section type (that should be used for layer 3 only). From now a defualt
board switch will have its own "device" UCI section type. It's a new &
preferred way of defining L2 devices.
Before:
config interface 'lan'
option type 'bridge'
option ifname 'lan1 lan2 lan3 lan4'
option proto 'static'
option ipaddr '192.168.1.1'
option netmask '255.255.255.0'
After:
config device
option name 'lan'
option type 'bridge'
list ports 'lan1'
list ports 'lan2'
list ports 'lan3'
list ports 'lan4'
config interface 'lan'
option ifname 'lan'
option proto 'static'
option ipaddr '192.168.1.1'
option netmask '255.255.255.0'
Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
Diffstat (limited to 'tools/mklibs/Makefile')
0 files changed, 0 insertions, 0 deletions