cvs commit: src/sbin/ifconfig af_atalk.c af_inet.c af_inet6.c af_ipx.c af_link.c ifconfig.c ifconfig.h

Dag-Erling Smørgrav des at
Tue Feb 27 17:23:09 UTC 2007

Sam Leffler <sam at> writes:
> Dag-Erling Smørgrav wrote:
> > This commit breaks interface cloning.  Apparently, the global variable
> > "name" is not initialized before ifclonecreate() is called, so the
> > SIOCIFCREATE2 ioctl() is called with an empty string instead of the
> > interface name.
> Hmm, worked for bridge for me.  Can you provide the specific example?

Is "ifconfig bridge0 create" specific enough?

Insert a printf() in the right spot and you'll see name is empty when
ifclonecreate() is called.

Dag-Erling Smørgrav - des at

More information about the cvs-src mailing list