]> The Tcpdump Group git mirrors - tcpdump/blobdiff - tcpdump.c
add basic support for Ethernet OAM Frames as per 802.3ah
[tcpdump] / tcpdump.c
index 116f3daa7abdc1c06465cb46c1badaaec720edaa..65e108a04f38f58455ee70d26a75023bd6ddd5be 100644 (file)
--- a/tcpdump.c
+++ b/tcpdump.c
@@ -30,7 +30,7 @@ static const char copyright[] _U_ =
     "@(#) Copyright (c) 1988, 1989, 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997, 2000\n\
 The Regents of the University of California.  All rights reserved.\n";
 static const char rcsid[] _U_ =
-    "@(#) $Header: /tcpdump/master/tcpdump/tcpdump.c,v 1.265 2005-12-13 08:37:22 hannes Exp $ (LBL)";
+    "@(#) $Header: /tcpdump/master/tcpdump/tcpdump.c,v 1.267 2006-02-09 20:33:49 hannes Exp $ (LBL)";
 #endif
 
 /*
@@ -260,6 +260,9 @@ static struct printer printers[] = {
 #endif
 #ifdef DLT_JUNIPER_CHDLC
        { juniper_chdlc_print, DLT_JUNIPER_CHDLC },
+#endif
+#ifdef DLT_MFR
+       { mfr_if_print, DLT_MFR },
 #endif
        { NULL,                 0 },
 };
@@ -977,6 +980,7 @@ main(int argc, char **argv)
                exit(0);
        }
        init_addrtoname(localnet, netmask);
+        init_checksum();
 
 #ifndef WIN32  
        (void)setsignal(SIGPIPE, cleanup);