diff options
author | guy <guy> | 2008-01-29 10:49:27 +0000 |
---|---|---|
committer | guy <guy> | 2008-01-29 10:49:27 +0000 |
commit | 0559d7257d66867135aee7b4d99caabd4a5b0576 (patch) | |
tree | 2b8cb449fe0e3814549cdb4b1b963b731b359ce9 /tcpdump.c | |
parent | 591fb3e47953d7bc605d1e2935fc30462517293d (diff) | |
download | tcpdump-0559d7257d66867135aee7b4d99caabd4a5b0576.tar.gz |
Say "printing not supported", not just "not supported", for DLT_ values
for which we don't have a print routine; you *can* use tcpdump to
capture traffic with those DLT_ values, as long as you use "-w" so that
we don't interpret the contents of the packet, we just blindly write the
raw packet data to the capture file.
Diffstat (limited to 'tcpdump.c')
-rw-r--r-- | tcpdump.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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.275 2007-12-20 08:13:35 guy Exp $ (LBL)"; + "@(#) $Header: /tcpdump/master/tcpdump/tcpdump.c,v 1.276 2008-01-29 10:49:27 guy Exp $ (LBL)"; #endif /* @@ -334,10 +334,10 @@ show_dlts_and_exit(pcap_t *pd) * OK, does tcpdump handle that type? */ if (lookup_printer(dlts[n_dlts]) == NULL) - (void) fprintf(stderr, " (not supported)"); + (void) fprintf(stderr, " (printing not supported)"); putchar('\n'); } else { - (void) fprintf(stderr, " DLT %d (not supported)\n", + (void) fprintf(stderr, " DLT %d (printing not supported)\n", dlts[n_dlts]); } } |