Code

dns plugin: Remove unnecessary poll code and use the (blocking) `pcap_loop' function...
authorFlorian Forster <octo@crystal.wlan.home.verplant.org>
Mon, 4 Dec 2006 21:47:34 +0000 (22:47 +0100)
committerFlorian Forster <octo@crystal.wlan.home.verplant.org>
Mon, 4 Dec 2006 21:47:34 +0000 (22:47 +0100)
commitc4c11113bb0df99c750683d0f38b95387dca5767
tree4502917203ef5d84f0bc1264d0ccdd57113b1a26
parent55ffd0b2b51d27fa7192a2db57e9a6537b18362b
dns plugin: Remove unnecessary poll code and use the (blocking) `pcap_loop' function instead.

Not only does this simplify things *a lot* on *BSD and Mac OS X, because you
can't always call `poll' on their filedescriptors, it also simplifies the code
a lot and thus removes potential error sources.
src/dns.c