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 edited 15 Jun '11, 05:22 |
One Answer:
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. answered 16 Jun '11, 11:42 Guy Harris ♦♦ |
Why would you want to do that? the list is usually pretty short anyway...