tcpdump mailing list archives

Re: libpcap and struct canusb_t, src: failure on debian/ubuntu


From: Michael Richardson <mcr () sandelman ca>
Date: Tue, 04 Sep 2012 09:55:03 -0400


"Guy" == Guy Harris <guy () alum mit edu> writes:
    >> okay, so as I understand it, basically you have keeping the name
    >> that was in the library in a structure in lib cap.

    Guy> No, the name was never in a library; "struct canusb_t" is a
    Guy> structure in the pcap-canusb-linux.c module.  The field was
    Guy> removed, but was needed; Jakub's patch put in another field to
    Guy> hold the relevant part of the device name.  (Perhaps all that's

oh. It seemed to me back in July that it was a conflict with some
version of the libusb header files!

    >> looks like all the tests now fail with:
    >> 
    >> reading from file spb.pcap, link-type EN10MB (Ethernet) tcpdump:
    >> direction is not supported on save files

    Guy> Not on my machine, with a recent "git pull"ed version of the
    Guy> libpcap and tcpdump trunks and 1.3/4.3 branches.

    Guy> In the libpcap trunk, the only message I can find like that is
    Guy> "Setting direction is not supported on save files", which is
    Guy> returned for a pcap_setdirection() call if you're reading from
    Guy> a savefile.  I can't find any such message in the tcpdump
    Guy> trunk, nor can I find any calls to pcap_setdirection() there
    Guy> either, so I'm not sure where that message is coming from; try
    Guy> doing a "make clean" in the libpcap directory and rebuild both

okay, I'll try again.  As I said, I didn't have time to go further.

-- 
]       He who is tired of Weird Al is tired of life!           |  firewalls  [
]   Michael Richardson, Sandelman Software Works, Ottawa, ON    |net architect[
] mcr () sandelman ottawa on ca http://www.sandelman.ottawa.on.ca/ |device driver[
   Kyoto Plus: watch the video <http://www.youtube.com/watch?v=kzx1ycLXQSE>
                       then sign the petition. 
_______________________________________________
tcpdump-workers mailing list
tcpdump-workers () lists tcpdump org
https://lists.sandelman.ca/mailman/listinfo/tcpdump-workers


Current thread: