Re: don't error when switch ioctls return EEXIST

2017-07-28 Thread Reyk Floeter
On Fri, Jul 28, 2017 at 06:13:50PM +1000, Jonathan Gray wrote: > The handling of 'add' used by bridge and switch in ifconfig does not > error out if the ioctl returns EEXIST. Do the same for the switch > specific 'addlocal' and 'portno' ioctls so netstart won't error out > when rerun with the same

don't error when switch ioctls return EEXIST

2017-07-28 Thread Jonathan Gray
The handling of 'add' used by bridge and switch in ifconfig does not error out if the ioctl returns EEXIST. Do the same for the switch specific 'addlocal' and 'portno' ioctls so netstart won't error out when rerun with the same settings in hostname.switchN. Index: brconfig.c =