]> The Tcpdump Group git mirrors - libpcap/blobdiff - gencode.c
Update CHANGES for USB fixes.
[libpcap] / gencode.c
index a918dd36fb7f6cd4577e192a6b939d6bdcdbf580..5548e6fd1f0c4dadfdff9b0778a0f6dde3e0daa6 100644 (file)
--- a/gencode.c
+++ b/gencode.c
@@ -21,7 +21,7 @@
  */
 #ifndef lint
 static const char rcsid[] _U_ =
-    "@(#) $Header: /tcpdump/master/libpcap/gencode.c,v 1.290.2.18 2008-12-23 18:04:28 guy Exp $ (LBL)";
+    "@(#) $Header: /tcpdump/master/libpcap/gencode.c,v 1.290.2.19 2008-12-23 20:14:12 guy Exp $ (LBL)";
 #endif
 
 #ifdef HAVE_CONFIG_H
@@ -1508,7 +1508,7 @@ init_linktype(p)
                off_nl_nosnap = -1;
                return;
 
-       case DLT_USB_LINUX_MMAP:
+       case DLT_USB_LINUX_MMAPPED:
                /*
                 * Currently, only raw "link[N:M]" filtering is supported.
                 */
@@ -3370,7 +3370,7 @@ gen_linktype(proto)
 
        case DLT_USB:
        case DLT_USB_LINUX:
-       case DLT_USB_LINUX_MMAP:
+       case DLT_USB_LINUX_MMAPPED:
                bpf_error("USB link-layer type filtering not implemented");
 
        case DLT_BLUETOOTH_HCI_H4: