From d23409fec0e262a2f99b04df61b5b05d40aca45a Mon Sep 17 00:00:00 2001 From: Toni Uhlig Date: Thu, 25 Apr 2019 21:03:34 +0200 Subject: build error: option struct member list_pcap_devices should be available for all build configs Signed-off-by: Toni Uhlig --- src/options.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/options.h b/src/options.h index 9585286..9c2ca3f 100644 --- a/src/options.h +++ b/src/options.h @@ -74,9 +74,9 @@ struct options { int pcap; /** Device to capture packets from */ char *pcap_device; +#endif /** List all available pcap devices and exit */ int list_pcap_devices; -#endif /** Usually stdout, but can be altered by the user */ char *log_path; FILE *log_file; -- cgit v1.2.3