]> The Tcpdump Group git mirrors - tcpdump/blobdiff - print-mobile.c
Use "len", not "payload_len", as we step through the packet; use
[tcpdump] / print-mobile.c
index e767beb384a1daa13625c0c0b9a5bb9459d120fb..e7de19dc4e28ae56bbdfaf97e38ed810a61e2489 100644 (file)
 #endif
 
 #ifndef lint
-static const char rcsid[] =
-     "@(#) $Header: /tcpdump/master/tcpdump/print-mobile.c,v 1.8 2002-06-01 23:50:32 guy Exp $";
+static const char rcsid[] _U_ =
+     "@(#) $Header: /tcpdump/master/tcpdump/print-mobile.c,v 1.14 2003-11-16 09:36:28 guy Exp $";
 #endif
 
-#include <sys/param.h>
-#include <sys/time.h>
-#include <sys/socket.h>
+#include <tcpdump-stdinc.h>
 
-#include <netinet/in.h>
-
-#include <netdb.h>
 #include <stdio.h>
 
 #include "interface.h"
@@ -94,7 +89,7 @@ mobile_print(const u_char *bp, u_int length)
                osp=1;
                cp +=4 ;
        }
-       
+
        if (osp)  {
                fputs("[S] ",stdout);
                if (vflag)