aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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 a150ceebfe..66af781bdc 100644
--- a/caputils/capture-pcap-util.c
+++ b/caputils/capture-pcap-util.c
@@ -1209,7 +1209,7 @@ open_capture_device_pcap_open_live(interface_options *interface_opts,
pcap_t *pcap_h;
int snaplen;
- if (interface_opts->have_snaplen)
+ if (interface_opts->has_snaplen)
snaplen = interface_opts->snaplen;
else {
/*