diff options
author | fenner <fenner> | 2001-07-04 22:03:13 +0000 |
---|---|---|
committer | fenner <fenner> | 2001-07-04 22:03:13 +0000 |
commit | 2cfe2bf4a5bdba199215e4c92129a36271b10a64 (patch) | |
tree | 49e07c6a98e962ef8807898081831c74843d9f51 /print-fddi.c | |
parent | f7297f584bd5c14a0dae0aca2d18149fbf077a82 (diff) | |
download | tcpdump-2cfe2bf4a5bdba199215e4c92129a36271b10a64.tar.gz |
Add SIGINFO handler from LBL
The rest of the low-level print-*.c handlers need the infodelay
wrapping too.
Diffstat (limited to 'print-fddi.c')
-rw-r--r-- | print-fddi.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/print-fddi.c b/print-fddi.c index 8911dea1..caa1f11f 100644 --- a/print-fddi.c +++ b/print-fddi.c @@ -21,7 +21,7 @@ #ifndef lint static const char rcsid[] = - "@(#) $Header: /tcpdump/master/tcpdump/print-fddi.c,v 1.50 2000-12-23 20:48:13 guy Exp $ (LBL)"; + "@(#) $Header: /tcpdump/master/tcpdump/print-fddi.c,v 1.51 2001-07-04 22:03:14 fenner Exp $ (LBL)"; #endif #ifdef HAVE_CONFIG_H @@ -262,6 +262,7 @@ fddi_if_print(u_char *pcap, const struct pcap_pkthdr *h, struct ether_header ehdr; u_short extracted_ethertype; + ++infodelay; ts_print(&h->ts); if (caplen < FDDI_HDRLEN) { @@ -328,4 +329,7 @@ fddi_if_print(u_char *pcap, const struct pcap_pkthdr *h, default_print(p, caplen); out: putchar('\n'); + --infodelay; + if (infoprint) + info(0); } |