]> The Tcpdump Group git mirrors - libpcap/commitdiff
add basic support for DLT_JUNIPER_MFR
authorhannes <hannes>
Wed, 20 Jul 2005 15:20:20 +0000 (15:20 +0000)
committerhannes <hannes>
Wed, 20 Jul 2005 15:20:20 +0000 (15:20 +0000)
gencode.c

index e0ef7a7a6c997aaee9c3446366e56d6dbecf264f..a6854aca8e5614e1fcb5f2d2008a5a78fed61282 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.221.2.27 2005-07-14 16:01:46 hannes Exp $ (LBL)";
+    "@(#) $Header: /tcpdump/master/libpcap/gencode.c,v 1.221.2.28 2005-07-20 15:20:20 hannes Exp $ (LBL)";
 #endif
 
 #ifdef HAVE_CONFIG_H
@@ -1115,6 +1115,7 @@ init_linktype(p)
                off_nl_nosnap = PFLOG_HDRLEN;   /* no 802.2 LLC */
                return;
 
+        case DLT_JUNIPER_MFR:
         case DLT_JUNIPER_MLFR:
         case DLT_JUNIPER_MLPPP:
                 off_linktype = 4;
@@ -2259,6 +2260,7 @@ gen_linktype(proto)
                /*NOTREACHED*/
                break;
 
+        case DLT_JUNIPER_MFR:
         case DLT_JUNIPER_MLFR:
         case DLT_JUNIPER_MLPPP:
        case DLT_JUNIPER_ATM1:
@@ -6035,6 +6037,7 @@ gen_inbound(dir)
                }
                break;
 
+        case DLT_JUNIPER_MFR:
         case DLT_JUNIPER_MLFR:
         case DLT_JUNIPER_MLPPP:
        case DLT_JUNIPER_ATM1: