summaryrefslogtreecommitdiff
path: root/caputils
diff options
context:
space:
mode:
authorPascal Quantin <pascal.quantin@gmail.com>2017-06-03 23:13:17 +0200
committerPascal Quantin <pascal.quantin@gmail.com>2017-06-03 21:14:25 +0000
commit2ba951b984253135ba4dced906dd56a9d487ea65 (patch)
tree3c83c7cb2c85fc05d5d3dfebd578f04daa56c7d4 /caputils
parent94847961cb009ae35fc33035f108060a5ef2c40e (diff)
downloadwireshark-2ba951b984253135ba4dced906dd56a9d487ea65.tar.gz
capture-pcap-util.c: fix a typo
Change-Id: I674d02be665afc331e266725c0a0cbc0a33d9403 Reviewed-on: https://code.wireshark.org/review/21926 Reviewed-by: Pascal Quantin <pascal.quantin@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 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 {
/*