[radvd-devel-l] [patch] Segfault under BSD with non-existent interfaces
mk at neon1.net
Fri Jan 21 11:49:48 EST 2011
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?
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 514 bytes
Desc: not available
More information about the radvd-devel-l