]> The Tcpdump Group git mirrors - tcpdump/blobdiff - print-atm.c
There's no link-layer header on Linux ARPHRD_ATM packets; there's
[tcpdump] / print-atm.c
index 7458116ffa2ee272ebef85d98058f911806c492e..e2a2a46e7598a66d993a183e7d439c35a842ec1c 100644 (file)
@@ -20,7 +20,7 @@
  */
 #ifndef lint
 static const char rcsid[] =
-    "@(#) $Header: /tcpdump/master/tcpdump/print-atm.c,v 1.20 2000-12-22 22:45:09 guy Exp $ (LBL)";
+    "@(#) $Header: /tcpdump/master/tcpdump/print-atm.c,v 1.21 2001-07-05 18:54:14 guy Exp $ (LBL)";
 #endif
 
 #ifdef HAVE_CONFIG_H
@@ -53,6 +53,7 @@ atm_if_print(u_char *user, const struct pcap_pkthdr *h, const u_char *p)
        u_int length = h->len;
        u_short ethertype;
 
+       ++infodelay;
        ts_print(&h->ts);
 
        if (caplen < 8) {
@@ -141,4 +142,7 @@ atm_if_print(u_char *user, const struct pcap_pkthdr *h, const u_char *p)
                default_print(p, caplen);
  out:
        putchar('\n');
+       --infodelay;
+       if (infoprint)
+               info(0);
 }