tcpdump mailing list archives

Re: beta1


From: Guy Harris <guy () alum mit edu>
Date: Tue, 18 Nov 2003 15:18:03 -0800


On Nov 13, 2003, at 2:52 PM, Guy Harris wrote:

3) listening on en0, link-type 1 (EN10MB), capture size 96 bytes
seems likely to cause some faqs, if it isn't one already -- I have a 100Mbit link and it says 10MB?

        ...

Perhaps we should change the "dlt_choices[]" table to have two names, one of which is the current name (for compatibility) and one of which is a more descriptive name. "pcap_datalink_val_to_name()" should return the descriptive name; "pcap_datalink_name_to_val()" should accept either of the names.

I've checked in a similar change, except that "pcap_datalink_val_to_name()" returns the short name, and there's a new "pcap_datalink_val_to_description()" returning a description string intended for humans (it can contain spaces, etc., making it a pain to type as an argument to "-y"). It's in the main branch and the 0.8 branch, and changes to tcpdump to use it (and define its own version if not present) are in the main and 3.8 branches.

-
This is the TCPDUMP workers list. It is archived at
http://www.tcpdump.org/lists/workers/index.html
To unsubscribe use mailto:tcpdump-workers-request () tcpdump org?body=unsubscribe


Current thread: