This is our old Q&A Site. Please post any new questions and answers at ask.wireshark.org.

Can i change the order of interface number, by the way, the number is get by command "tshark -D"?

asked 15 Jun '11, 05:19

phoenix's gravatar image

phoenix
1112
accept rate: 0%

edited 15 Jun '11, 05:22

Why would you want to do that? the list is usually pretty short anyway...

(15 Jun '11, 06:32) Jasper ♦♦

No, you can't change the order of the interfaces; they're supplied in the order in which libpcap gets them from the OS (with interfaces that libpcap can identify as "loopback" interfaces sorted to the end) or in which WinPcap gets them from wherever it gets them.

The number printed by "tshark -D" (and "tcpdump -D" and...) is just the ordinal number of the interface in the list.

permanent link

answered 16 Jun '11, 11:42

Guy%20Harris's gravatar image

Guy Harris ♦♦
17.4k335196
accept rate: 19%

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×114
×18

question asked: 15 Jun '11, 05:19

question was seen: 2,391 times

last updated: 16 Jun '11, 11:42

p​o​w​e​r​e​d by O​S​Q​A