tcpdump mailing list archives

Fix DAG Stream support in dag_create()


From: Stephen Donnelly <stephen.donnelly () emulex com>
Date: Fri, 16 Aug 2013 11:17:52 +1200

It appears that when "Have non-interface modules take responsibility for identifying their devices" 2426611 <https://github.com/the-tcpdump-group/libpcap/commit/2426611584e9099af5f98d18ef37337df9bef025> was committed, the heuristic for DAG device names was insufficient.

https://github.com/the-tcpdump-group/libpcap/commit/2426611584e9099af5f98d18ef37337df9bef025

The impact is that libpcap cannot capture from DAG streams other than 0, which will significantly affect some users.

This issue also affects libpcap_1.4 branch.

DAG capture device names are of the format dagN or dagN:M where N is the device number and M is the stream number. The former implies stream 0.

Thanks to joseph.ciccone () emulex com <mailto:joseph.ciccone () emulex com> for his initial patch.

I have created a pull request at github:
https://github.com/the-tcpdump-group/libpcap/pull/313

Regards,
Stephen.


_______________________________________________
tcpdump-workers mailing list
tcpdump-workers () lists tcpdump org
https://lists.sandelman.ca/mailman/listinfo/tcpdump-workers


Current thread: