aboutsummaryrefslogtreecommitdiff
path: root/src/options.h
diff options
context:
space:
mode:
authorToni Uhlig <matzeton@googlemail.com>2019-04-25 20:51:39 +0200
committerToni Uhlig <matzeton@googlemail.com>2019-04-25 20:51:39 +0200
commit3aa8e5d131d058c33a50230d7c4c0a2f1008e19d (patch)
treebec2ade9ecd3af24138f87f954ae55ae0be9be46 /src/options.h
parent087cc3026522d080e322b5ba4431d1cc90a084ea (diff)
added `--list-libpcap-devices' to list al available pcap devices, output WinPCAP specific information at startup
Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
Diffstat (limited to 'src/options.h')
-rw-r--r--src/options.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/options.h b/src/options.h
index 7afcfec..9585286 100644
--- a/src/options.h
+++ b/src/options.h
@@ -74,6 +74,8 @@ struct options {
int pcap;
/** Device to capture packets from */
char *pcap_device;
+ /** List all available pcap devices and exit */
+ int list_pcap_devices;
#endif
/** Usually stdout, but can be altered by the user */
char *log_path;