summaryrefslogtreecommitdiff
path: root/caputils/capture-pcap-util.c
diff options
context:
space:
mode:
Diffstat (limited to 'caputils/capture-pcap-util.c')
-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 66af781bdc..0f95f7827c 100644
--- a/caputils/capture-pcap-util.c
+++ b/caputils/capture-pcap-util.c
@@ -1340,7 +1340,7 @@ open_capture_device(capture_options *capture_opts,
auth.username = interface_opts->auth_username;
auth.password = interface_opts->auth_password;
- if (interface_opts->have_snaplen)
+ if (interface_opts->has_snaplen)
snaplen = interface_opts->snaplen;
else {
/*