Skip to content

Commit

Permalink
Get rid of some debugging code.
Browse files Browse the repository at this point in the history
  • Loading branch information
yuguy committed Apr 4, 2008
1 parent bca64a2 commit 4440cfa
Showing 1 changed file with 1 addition and 10 deletions.
11 changes: 1 addition & 10 deletions tcpdump.c
Original file line number Diff line number Diff line change
Expand Up @@ -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.277 2008-04-04 19:42:11 guy Exp $ (LBL)";
"@(#) $Header: /tcpdump/master/tcpdump/tcpdump.c,v 1.278 2008-04-04 20:24:49 guy Exp $ (LBL)";
#endif

/*
Expand Down Expand Up @@ -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",
Expand Down

0 comments on commit 4440cfa

Please sign in to comment.