Re: [tcpdump-workers] DLT_LOOP defined wrong on OpenBSD

2007-04-05 Thread Guy Harris
Jon Steel wrote: It needs to be changed to: #ifdef __OpenBSD__ #define DLT_LOOP12 #else #define DLT_LOOP108 #endif Done, in both the main and x.9 branches. - This is the tcpdump-workers list. Visit https://cod.sandelman.ca/ to unsubscribe.

[tcpdump-workers] DLT_LOOP defined wrong on OpenBSD

2007-04-05 Thread Jon Steel
Hi DLT_LOOP is defined improperly in pcap-bpf.c for OpenBSD. Here is the current: /* * OpenBSD DLT_LOOP, for loopback devices; it's like DLT_NULL, except * that the AF_ type in the link-layer header is in network byte order. * * OpenBSD defines it as 12, but that collides with DLT_RAW, so we