On 04/09/16 21:51, Ted Unangst wrote:
Edgar Pettijohn wrote:
The -i flag doesn't appear to do what the man page suggests. Correcting
the source is above my paygrade, but the man page isn't.
hmm? what do you think tcpdump does if -i isn't specified?
totally misread. thought it meant more like so:
# tcpdump -i
would act like
# tcpdump
Index: tcpdump.8
===================================================================
RCS file: /cvs/src/usr.sbin/tcpdump/tcpdump.8,v
retrieving revision 1.88
diff -u -p -u -r1.88 tcpdump.8
--- tcpdump.8 5 Nov 2015 09:56:21 -0000 1.88
+++ tcpdump.8 10 Apr 2016 02:44:27 -0000
@@ -121,13 +121,6 @@ Print the interface on each dump line.
.It Fl i Ar interface
Listen on
.Ar interface .
-If unspecified,
-.Nm
-searches the system interface list for the lowest numbered, configured
-.Dq up
-interface
-.Pq excluding loopback .
-Ties are broken by choosing the earliest match.
.It Fl L
List the supported data link types for the interface and exit.
.It Fl l