]> The Tcpdump Group git mirrors - tcpdump/commitdiff
Merge pull request #482 from sinic/master
authorGuy Harris <[email protected]>
Mon, 21 Sep 2015 22:25:58 +0000 (15:25 -0700)
committerGuy Harris <[email protected]>
Mon, 21 Sep 2015 22:25:58 +0000 (15:25 -0700)
Use pcap_findalldevs() to find the default interface, if available.

This defaults to the correct interface on Windows.

It also means that, if you're unlucky enough to have only a loopback
interface, it'll find that interface.  (This is a feature, not a bug.)


Trivial merge