> On 10 Jul 2020, at 12:45 am, sven falempin <sven.falem...@gmail.com> wrote:
> 
> On Thu, Jul 9, 2020 at 3:31 AM Klemens Nanni <k...@openbsd.org> wrote:
>> 
>> On Thu, Jul 09, 2020 at 05:08:01PM +1000, David Gwynne wrote:
>>> if i accidentally `ifconfig bridge add gre0` instead of egre0, having
>>> bridge create gre0 and then not like it is not what i expect to happen.
>>> especially when it leaves me with an extra gre0 interface lying around
>>> afterwards.
>>> 
>>> i can appreciate that this was trying to be helpful when you wanted
>>> to add virtual interfaces to a bridge on boot, but that was before
>>> netstart(8) created all the interfaces with config files up front, before
>>> it then goes through and runs the config for them.
>> I agree.
>> 
>> OK kn
>> 
> 
> this will force the use of create beforehand ?

the interface you want to add as a bridge port will have to exist before you 
can add it to a bridge.

> or ifconfig bridge0 up will still work ?

ifconfig does that, so this diff does not break that.

> because script in the wild may not do the create first.

scripts may have to be fixed as things change.

> 
> -- 
> --
> ---------------------------------------------------------------------------------------------------------------------
> Knowing is not enough; we must apply. Willing is not enough; we must do
> 

Reply via email to