[radvd-devel-l] [patch] Segfault under BSD with non-existent interfaces
Manuel Kasper
mk at neon1.net
Fri Jan 21 11:49:48 EST 2011
Hello,
I'm using radvd under FreeBSD in conjunction with MPD (PPP daemon that dynamically creates a virtual interface per client). radvd 1.7 kept segfaulting on me after "ioctl(SIOCGIFMTU) failed for ng0: Device not configured" when starting with a configuration that references interfaces that don't exist yet.
A trivial patch for device-bsd44.c is attached; perhaps it would also make sense to have the SIOCGIFMTU error message depend on !iface->IgnoreIfMissing?
Regards,
Manuel
-------------- next part --------------
A non-text attachment was scrubbed...
Name: device-bsd44.c.patch
Type: application/octet-stream
Size: 514 bytes
Desc: not available
URL: <http://lists.litech.org/pipermail/radvd-devel-l/attachments/20110121/497735cf/attachment.obj>
More information about the radvd-devel-l
mailing list