diff options
author | Rafał Miłecki <rafal@milecki.pl> | 2021-05-25 17:17:26 +0200 |
---|---|---|
committer | Rafał Miłecki <rafal@milecki.pl> | 2021-05-26 07:52:27 +0200 |
commit | 899c2a4520526d43113f73cf673f20e2486a40fb (patch) | |
tree | 9c4b0824f4ecaf814d0b6ccdc3cc458caadc487a /bridge.c | |
parent | 62e3cb52941032e13a8ad421454b9bc93382ef75 (diff) | |
download | netifd-899c2a4520526d43113f73cf673f20e2486a40fb.tar.gz |
interface: support "device" attribute and deprecate "ifname"
Interfaces need to be assigned to devices. For that purpose a "device"
option should be more accurate than "ifname" one.
For backward compatibility old option remains supported too.
Config example:
config device
option name 'br-lan'
option type 'bridge'
list ports 'lan1'
list ports 'lan2'
config interface 'lan'
option device 'br-lan'
option proto 'static'
Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
Diffstat (limited to 'bridge.c')
0 files changed, 0 insertions, 0 deletions