Re: [tcpdump-workers] About LINKTYPE_LINUX_SLL / LINKTYPE_LINUX_SLL2

2018-07-14 Thread Guy Harris
On Jul 13, 2018, at 10:00 AM, Francois-Xavier Le Bail wrote: > In http://www.tcpdump.org/linktypes/LINKTYPE_LINUX_SLL.html and > http://www.tcpdump.org/linktypes/LINKTYPE_LINUX_SLL2.html, there is: > > "If there are more than 8 bytes, only the first 8 bytes are present, and if > there are

[tcpdump-workers] fixing -Wformat-truncation

2018-07-14 Thread Denis Ovsienko
Hello list. I have just committed a small change to squelch a couple warnings generated by -Wformat-truncation in libpcap, here is a good technical article that was useful in understanding the problem in the first place, if anybody is interested:

Re: [tcpdump-workers] About LINKTYPE_LINUX_SLL / LINKTYPE_LINUX_SLL2

2018-07-14 Thread Denis Ovsienko
On Fri, 13 Jul 2018 18:00:03 +0100 Francois-Xavier Le Bail wrote > Hello, > > In http://www.tcpdump.org/linktypes/LINKTYPE_LINUX_SLL.html and > http://www.tcpdump.org/linktypes/LINKTYPE_LINUX_SLL2.html, there is: > > "If there are more than 8 bytes, only the first 8 bytes are