[dsc] Patch for build on Solaris9 and multiple interfaces fix

Alexander Gall gall at switch.ch
Wed Dec 5 16:36:31 UTC 2007

I have used the attached patch to build the DSC collector (version
200706121022) on Solaris 9.  The header file fixes are trivial, but I
discovered a bug that affects capturing on multiple interfaces.  I
think this also solves the issue "Multiple interfaces" reported on
this list in November (I just joined the list and had a quick look in
the archive).

The problem is simply that FD_ISSET checks the original FD set rather
than the one returned by select().  The fix is obvious (but one also
needs to cover the case when select() returns after a timeout).


-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: dsc-200706121022.diff
URL: <http://lists.dns-oarc.net/pipermail/dsc/attachments/20071205/5ddacef4/attachment.asc>

More information about the dsc mailing list