Re: tcpdump ether proto lldp

2016-11-28 Thread Jeremie Courreges-Anglas
"Theo de Raadt" writes: > Why? The size of an array changes, but the ABI does not change > in a visible fashion. tcpdump uses that symbol directly: /*XXX from libbpfc.a */ extern struct eproto { char *s; u_short p; } eproto_db[]; static void

Re: tcpdump ether proto lldp

2016-11-28 Thread Theo de Raadt
Why? The size of an array changes, but the ABI does not change in a visible fashion. > ok, but please bump the minor version. > > > Index: nametoaddr.c > > === > > RCS file: /cvs/src/lib/libpcap/nametoaddr.c,v > > retrieving

Re: tcpdump ether proto lldp

2016-11-28 Thread Jeremie Courreges-Anglas
David Gwynne writes: > this diff lets me easily ask tcpdump to show me lldp packets. > > without it i have to remember the protocol id, and i cant. > > ok? ok, but please bump the minor version. > Index: nametoaddr.c >