The handle ins't null, if I remove the compile statement I can sniff the
packages ...

On Fri, Jun 3, 2011 at 8:32 PM, Guy Harris <[email protected]> wrote:

>
> On Jun 3, 2011, at 4:18 PM, Flavio Truzzi wrote:
>
> >    handle = pcap_open_offline("aaaa.cap",errbuff);
>
> You're missing a
>
>        if (handle == NULL) {
>                report whatever error is in errbuff;
>                stop;
>        }
>
> there.  What happens after you add it?
> -
> This is the tcpdump-workers list.
> Visit https://cod.sandelman.ca/ to unsubscribe.
>



-- 
Flavio Sales Truzzi
-
This is the tcpdump-workers list.
Visit https://cod.sandelman.ca/ to unsubscribe.

Reply via email to