On Tue, Mar 25, 2003 at 12:36:07AM -0800, Guy Harris wrote:
> I've checked in a change to libpcap that *should* handle AIX loopback
> devices - if, again, they have DLT_NULL-style link-layer headers.

Well, no, I haven't, actually - there's a lock in the libpcap CVS tree.

Here's a patch to pcap-bpf.c in the current CVS tree for libpcap that
should work - the patch probably won't work with libpcap 0.7.x.
Index: pcap-bpf.c
===================================================================
RCS file: /tcpdump/master/libpcap/pcap-bpf.c,v
retrieving revision 1.58
diff -c -r1.58 pcap-bpf.c
*** pcap-bpf.c  25 Feb 2003 21:58:48 -0000      1.58
--- pcap-bpf.c  25 Mar 2003 08:39:10 -0000
***************
*** 534,539 ****
--- 534,543 ----
                v = DLT_IEEE802;
                break;
  
+       case IFT_LOOP:
+               v = DLT_NULL;
+               break;
+ 
        default:
                /*
                 * We don't know what to map this to yet.

Reply via email to