path: root/capture-pcap-util.h
diff options
authorGuy Harris <guy@alum.mit.edu>2010-05-07 08:06:25 +0000
committerGuy Harris <guy@alum.mit.edu>2010-05-07 08:06:25 +0000
commitcc05b9250d271bf75d814d6880b11a4fc4a0540a (patch)
tree211917813f771c8c7799bf5cc322e7a61f7bac39 /capture-pcap-util.h
parent1bcecb4bcd77d8ae938f7d92993a3586a576c65b (diff)
For TShark and Wireshark, get the list of link-layer types for an
interface by running dumpcap, so that if you need privileges to open an interface, and dumpcap has those privileges, neither TShark nor Wireshark need them. svn path=/trunk/; revision=32710
Diffstat (limited to 'capture-pcap-util.h')
1 files changed, 0 insertions, 2 deletions
diff --git a/capture-pcap-util.h b/capture-pcap-util.h
index c1fe38f147..035da2f69b 100644
--- a/capture-pcap-util.h
+++ b/capture-pcap-util.h
@@ -49,8 +49,6 @@ GList *get_remote_interface_list(const char *hostname, const char *port,
const char *passwd, int *err, char **err_str);
-GList *get_pcap_linktype_list(const char *devname, char **err_str);
/* get/set the link type of an interface */
/* (only used in capture_loop.c / capture-pcap-util.c) */
int get_pcap_linktype(pcap_t *pch, const char *devname);