Hi,

The encap_table_base in wcap.c is missing an entry.
This causes e.g. "dumpcap -i usb3 -L" to output:

  Data link types (use option -y to set):
    USB_LINUX
   (MPEG)

-jim

diff -urN --exclude=debian wireshark-0.99.6pre1.orig/wiretap/wtap.c 
wireshark-0.99.6pre1/wiretap/wtap.c
--- wireshark-0.99.6pre1.orig/wiretap/wtap.c    2007-06-22 13:34:02.000000000 
-0400
+++ wireshark-0.99.6pre1/wiretap/wtap.c 2007-07-12 14:03:41.000000000 -0400
@@ -375,6 +375,9 @@
        /* WTAP_ENCAP_NETTL_RAW_TELNET */
        { "Raw telnet with nettl headers", "raw-telnet-nettl" },
 
+       /* WTAP_ENCAP_USB_LINUX */
+       { "USB packets with Linux header", "usb-linux" },
+
        /* WTAP_ENCAP_MPEG */
        { "MPEG", "mpeg" },
 
_______________________________________________
Wireshark-dev mailing list
[email protected]
http://www.wireshark.org/mailman/listinfo/wireshark-dev

Reply via email to