Hi, I am trying to compile a filter but I am getting a  segmentation fault,
anyone can help me out?

Code:

"
...

    handle = pcap_open_offline("aaaa.cap",errbuff);
    string filtroexp;
    filtroexp = "tcp port 80";
    pcap_compile(handle,&filtro,filtroexp.c_str(),0,0);
...
"

Thanks,

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

Reply via email to