tcpdump mailing list archives

Re: libpcap patch for PPP support with DAG cards


From: Guy Harris <guy () alum mit edu>
Date: Mon, 18 Aug 2003 15:01:49 -0700


On Thursday, August 7, 2003, at 8:11 PM, Jesper Peterson wrote:

Most applications won't detect PPP frames if the link type is DLT_CHDLC. This patch makes the DAG capture code check the first frame received and sets the link type to DLT_PPP_SERIAL (full HDLC header) if appropriate.

Checked in.

You might want to have "dag_get_datalink()" fill in the error string, rather than doing it in "dag_open_live()" if "dag_get_datalink()" returns -1 - that way, it can put the DAG linktype value into the error message it returns (so that it'll show up in, for example, the error message window in Ethereal).

-
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: