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 des.no
Tue Feb 27 15:54:05 UTC 2007


Sam Leffler <sam at FreeBSD.org> writes:
>   Log:
>   use getifaddrs from libc instead of private code

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.

DES
-- 
Dag-Erling Smørgrav - des at des.no


More information about the cvs-all mailing list