summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorguy <guy>2008-04-04 20:25:05 +0000
committerguy <guy>2008-04-04 20:25:05 +0000
commit9a9394bfb1b2948f6fb88c4dab8fab95a4f4012d (patch)
treefdf4a82c4355a35e01985483420fd2b832487a9c
parent90f8bdddc5eaf31d4ff5b7418eaf78f54365a936 (diff)
downloadtcpdump-9a9394bfb1b2948f6fb88c4dab8fab95a4f4012d.tar.gz
Get rid of some debugging code.
-rw-r--r--tcpdump.c11
1 files changed, 1 insertions, 10 deletions
diff --git a/tcpdump.c b/tcpdump.c
index bc266021..a6cfa45d 100644
--- a/tcpdump.c
+++ b/tcpdump.c
@@ -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.271.2.6 2008-04-04 19:42:52 guy Exp $ (LBL)";
+ "@(#) $Header: /tcpdump/master/tcpdump/tcpdump.c,v 1.271.2.7 2008-04-04 20:25:05 guy Exp $ (LBL)";
#endif
/*
@@ -966,15 +966,6 @@ main(int argc, char **argv)
error("%s: pcap_set_promisc failed: %s",
device, pcap_strerror(status));
if (Iflag) {
-status = pcap_can_set_rfmon(pd);
-if (status < 0) {
-if (status == PCAP_ERROR)
-fprintf(stderr, "pcap_can_set_rfmon failed: %s\n", pcap_geterr(pd));
-else
-fprintf(stderr, "pcap_can_set_rfmon failed: %s\n", pcap_strerror(status));
-}
-else if (!status)
-fprintf(stderr, "This isn't gonna work...\n");
status = pcap_set_rfmon(pd, 1);
if (status != 0)
error("%s: pcap_set_rfmon failed: %s",