On Dec 30, 2011, at 6:21 AM, Fernando Gont wrote:

> After taking a look at the libpcap code, it seems that a straightforward
> way to incorporate the functionality I was mentioning would be to add to
> pcap_t a "status" member, and add right before every sentence that
> writes to handle->errbuf a sentence that writes the corresponding code
> to handle-status.
> 
> Then a function "pcap_geterrcode()" would simply return handle->status.

That would make sense.  If you want to work on an implementation, send us the 
patches (or attach them to the tracker item you filed on this).
-
This is the tcpdump-workers list.
Visit https://cod.sandelman.ca/ to unsubscribe.

Reply via email to