Ethereal-dev: R: [ethereal-dev] ethereal freeze if there is no traffic on the network

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

From: "Alessandro Staltari" <1993s008@xxxxxxxxxxxxxxxxxx>
Date: Mon, 30 Aug 1999 23:31:49 +0200
>You're probably running Linux, right?

Yes, I do.

>Yup.  We also have a "libpcap" patch under
>
> http://ethereal.zing.org/~gerald/libpcap-0.4-guy-gerald.patch
>
>that may be similar to your patch;

I was surprised to be the first to fix this problem with a patch :-).
My patch is VERY similar to yours, but mine is worse because it uses a
single static global variable to store the timeout value, a very bad choiche
but was enough for a first time hack.

>you might want
>to send your patch to "ethereal-dev" so we could merge it with our patch
>(yours might be better in some or all ways than ours).


For the reason explained before this really don't need (even if I've not
tested yet your patch, I believe it works ;-) ). I have only two questions
to submit you:
- timerisset() : this is the first time I've seen this. Where does it came
from?
- it may be opportune specify the timeout field of the pcap struct inside a
#ifdef linux ... #endif directive (like other linux specific fields in
pcap_md struct).

Sincerely

Alessandro Staltari
staltari@xxxxxxxxxxxxx
http://www.geocities.com/SiliconValley/Vista/8155