aboutsummaryrefslogtreecommitdiffstats
path: root/caputils
diff options
context:
space:
mode:
authorDario Lombardo <lomato@gmail.com>2019-11-16 14:11:37 +0100
committerAnders Broman <a.broman58@gmail.com>2019-11-17 08:15:50 +0000
commit356814ae9aaa33ae979feeb8aa983bf7227747de (patch)
treea162f3382e6a09f8b9187d7be8b3b8f474e2d3c6 /caputils
parent81b97d04a98ca6d7f3898ea04326ee6f2dfb5d99 (diff)
caputils: remove unneeded check.
Change-Id: Ie24598ac8f6dde4fe23e7f9ffe8dcf91e593a4cc Reviewed-on: https://code.wireshark.org/review/35106 Petri-Dish: Dario Lombardo <lomato@gmail.com> Tested-by: Petri Dish Buildbot Reviewed-by: Guy Harris <guy@alum.mit.edu> Reviewed-by: Anders Broman <a.broman58@gmail.com>
Diffstat (limited to 'caputils')
-rw-r--r--caputils/capture-pcap-util.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/caputils/capture-pcap-util.c b/caputils/capture-pcap-util.c
index 4a743558bc..d0b55c9ff7 100644
--- a/caputils/capture-pcap-util.c
+++ b/caputils/capture-pcap-util.c
@@ -1259,7 +1259,7 @@ get_if_capabilities_pcap_create(interface_options *interface_opts,
pcap_t *
open_capture_device_pcap_create(
-#if defined(HAVE_PCAP_SET_TSTAMP_PRECISION) || defined (HAVE_PCAP_SET_TSTAMP_TYPE)
+#if defined(HAVE_PCAP_SET_TSTAMP_PRECISION)
capture_options* capture_opts,
#else
capture_options* capture_opts _U_,