diff options
Diffstat (limited to 'pcap-snit.c')
-rw-r--r-- | pcap-snit.c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/pcap-snit.c b/pcap-snit.c index 9da8573d..2fa809aa 100644 --- a/pcap-snit.c +++ b/pcap-snit.c @@ -479,6 +479,17 @@ can_be_bound(const char *name _U_) } int +get_if_flags(const char *name _U_, bpf_u_int32 flags _U_, char *errbuf _U_) +{ + /* + * Nothing we can do. + * XXX - is there a way to find out whether an adapter has + * something plugged into it? + */ + return (0); +} + +int pcap_platform_finddevs(pcap_if_list_t *devlistp, char *errbuf) { return (pcap_findalldevs_interfaces(devlistp, errbuf, can_be_bound)); |