Re: ifconfig: merge switch_status() into bridge_status()

2020-08-04 Thread David Gwynne
> On 31 Jul 2020, at 16:36, Klemens Nanni wrote: > > On Wed, Jul 29, 2020 at 02:21:42PM +0200, Klemens Nanni wrote: >> This is to reduce duplicate code and pave the way for a single >> bridge_status() that covers all bridge like interfaces: bridge(4), >> switch(4) and tpmr(4). > A duplicate

Re: ifconfig: merge switch_status() into bridge_status()

2020-07-31 Thread Klemens Nanni
On Wed, Jul 29, 2020 at 02:21:42PM +0200, Klemens Nanni wrote: > This is to reduce duplicate code and pave the way for a single > bridge_status() that covers all bridge like interfaces: bridge(4), > switch(4) and tpmr(4). A duplicate bridge_cfg() call snuck in, fixed diff below. Feedback? OK? >

ifconfig: merge switch_status() into bridge_status()

2020-07-29 Thread Klemens Nanni
This is to reduce duplicate code and pave the way for a single bridge_status() that covers all bridge like interfaces: bridge(4), switch(4) and tpmr(4). Feedback? OK? Index: brconfig.c === RCS file: