Re: netstart: do not try to create physical interfaces

2022-12-14 Thread Andrew Hewus Fresh
OK afresh1@, I would have to dig for a device to actually test it with, but my reading of the code makes me think it's correct. I do wonder if moving the ifcreate logic into vifscreate would allow for a friendlier message from `-n`. (untested diff follows, also missing the deletion of ifcreate) I

Re: netstart: do not try to create physical interfaces

2022-11-09 Thread Klemens Nanni
On Tue, Nov 01, 2022 at 01:57:21PM +, Klemens Nanni wrote: > vifscreate() is used to create all virtual interfaces up-front and is > always called at the beginning of netstart, whether an explicit list of > interfaces is passed or none, i.e. all are to be configured. > > Yet, to check the give

netstart: do not try to create physical interfaces

2022-11-01 Thread Klemens Nanni
vifscreate() is used to create all virtual interfaces up-front and is always called at the beginning of netstart, whether an explicit list of interfaces is passed or none, i.e. all are to be configured. Yet, to check the given interface exists, ifstart() uses ifcreate() which obviously tries to cr