]> The Tcpdump Group git mirrors - tcpdump/blobdiff - print-atalk.c
NDOize OpenFlow, IEEE slow and telnet decoders
[tcpdump] / print-atalk.c
index be1c154f843ea494f579482a32a8c7c87bffeaae..0f46fa3e4999792fc1098622700f8c406015ba91 100644 (file)
  * Format and print AppleTalk packets.
  */
 
-#ifndef lint
-static const char rcsid[] _U_ =
-    "@(#) $Header: /tcpdump/master/tcpdump/print-atalk.c,v 1.81 2004-05-01 09:41:50 hannes Exp $ (LBL)";
-#endif
-
 #ifdef HAVE_CONFIG_H
 #include "config.h"
 #endif
@@ -35,7 +30,6 @@ static const char rcsid[] _U_ =
 #include <stdio.h>
 #include <stdlib.h>
 #include <string.h>
-#include <pcap.h>
 
 #include "interface.h"
 #include "addrtoname.h"
@@ -43,6 +37,8 @@ static const char rcsid[] _U_ =
 #include "extract.h"                   /* must come after interface.h */
 #include "appletalk.h"
 
+static const char tstr[] = "[|atalk]";
+
 static const struct tok type2str[] = {
        { ddpRTMP,              "rtmp" },
        { ddpRTMPrequest,       "rtmpReq" },
@@ -63,8 +59,6 @@ struct aarp {
        u_int8_t        pdaddr[4];
 };
 
-static char tstr[] = "[|atalk]";
-
 static void atp_print(const struct atATP *, u_int);
 static void atp_bitmap_print(u_char);
 static void nbp_print(const struct atNBP *, u_int, u_short, u_char, u_char);
@@ -241,7 +235,7 @@ ddp_print(register const u_char *bp, register u_int length, register int t,
                break;
 
        case ddpEIGRP:
-               eigrp_print(bp, length);
+               eigrp_print(gndo, bp, length);
                break;
 
        default: