aboutsummaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2000-01-15 06:05:21 +0000
committerGuy Harris <guy@alum.mit.edu>2000-01-15 06:05:21 +0000
commit278b21900abfc3a189a675d441b7600941b43383 (patch)
tree2e9f528e187d85c6ea8b08555a948619039c44e2 /doc
parent8a1ecc5d83d76300a32a0ad8f89618c1733a1a21 (diff)
If no "-i" flag is specified to Tethereal when no file is to be read,,
or to Ethereal when the "-k" flag is specified, i.e. when a capture is to be started immediately, use "pcap_lookupdev()" to pick an interface, just as tcpdump does. svn path=/trunk/; revision=1482
Diffstat (limited to 'doc')
-rw-r--r--doc/ethereal.pod.template13
-rw-r--r--doc/tethereal.pod.template8
2 files changed, 14 insertions, 7 deletions
diff --git a/doc/ethereal.pod.template b/doc/ethereal.pod.template
index 77bf938c42..b2b8eb0199 100644
--- a/doc/ethereal.pod.template
+++ b/doc/ethereal.pod.template
@@ -94,14 +94,17 @@ Prints the version and options and exits.
=item -i
-Sets the name of the interface to use for live packet capture. It
-should match one of the names listed in "B<netstat -i>" or "B<ifconfig -a>".
+Sets the name of the network interface to use for live packet capture.
+It should match one of the names listed in "B<netstat -i>" or
+"B<ifconfig -a>".
=item -k
-Starts the capture session immediately; this option requires
-the B<-i> parameter, specifying the interface on which the capture
-should be done.
+Starts the capture session immediately. If the B<-i> flag was
+specified, the capture uses the specified interface. Otherwise,
+B<Ethereal> searches the list of interfaces on the system for the
+lowest-numbered, configured-up interface (excluding loopback
+interfaces); ties are broken by choosing the earliest match.
=item -m
diff --git a/doc/tethereal.pod.template b/doc/tethereal.pod.template
index 6de9428875..57eaa4a17f 100644
--- a/doc/tethereal.pod.template
+++ b/doc/tethereal.pod.template
@@ -79,8 +79,12 @@ Prints the version and options and exits.
=item -i
-Sets the name of the interface to use for live packet capture. It
-should match one of the names listed in "B<netstat -i>" or "B<ifconfig -a>".
+Sets the name of the network interface to use for live packet capture.
+It should match one of the names listed in "B<netstat -i>" or
+"B<ifconfig -a>". If no interface is specified, B<Ethereal> searches
+the list of interfaces on the system for the lowest-numbered,
+configured-up interface (excluding loopback interfaces); ties are broken
+by choosing the earliest match.
=item -n