aboutsummaryrefslogtreecommitdiff
path: root/pcap-nit.c
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2017-01-18 13:36:27 -0800
committerGuy Harris <guy@alum.mit.edu>2017-01-18 13:36:27 -0800
commit2a6286aa06b043240dd8c3524668455562d466d8 (patch)
tree062ee1df238c3e113a0451e60bb2b030867ffb17 /pcap-nit.c
parent5fa9ce62e3235688ce3ed5928cbce7754ec6291c (diff)
Have a pcap_if_list_t structure for use by the findalldevs code.
It's not part of the API, but it's an internal structure used by the findalldevs code. Currently, it just has a pointer to the beginning of the list, but it could change in order to speed up the process of adding to the list.
Diffstat (limited to 'pcap-nit.c')
-rw-r--r--pcap-nit.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/pcap-nit.c b/pcap-nit.c
index 1b626e21..19f10fc3 100644
--- a/pcap-nit.c
+++ b/pcap-nit.c
@@ -378,7 +378,7 @@ can_be_bound(const char *name _U_)
}
int
-pcap_platform_finddevs(pcap_if_t **alldevsp, char *errbuf)
+pcap_platform_finddevs(pcap_if_list_t *devlistp, char *errbuf)
{
- return (pcap_findalldevs_interfaces(alldevsp, errbuf, can_be_bound));
+ return (pcap_findalldevs_interfaces(devlistp, errbuf, can_be_bound));
}