]> The Tcpdump Group git mirrors - libpcap/commit
pcap_create_interface() needs the interface name on Linux.
authorGuy Harris <[email protected]>
Thu, 30 Jun 2016 18:19:57 +0000 (11:19 -0700)
committerGuy Harris <[email protected]>
Thu, 30 Jun 2016 18:20:21 +0000 (11:20 -0700)
commitcc3ca65d6519faf3a0e4609b5150757c14af36e9
tree757d1dca542b1704309aec9823693b5f44387510
parentf9e8924f56bcd908cf1c0a1731286b1451716ba5
pcap_create_interface() needs the interface name on Linux.

So pass it the interface name, and use the name passed to it rather than
the name in the pcap_t - which hasn't yet been set at that point.
14 files changed:
pcap-bpf.c
pcap-dlpi.c
pcap-dos.c
pcap-int.h
pcap-libdlpi.c
pcap-linux.c
pcap-nit.c
pcap-null.c
pcap-pf.c
pcap-sita.c
pcap-snit.c
pcap-snoop.c
pcap-win32.c
pcap.c