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:41 +0000
commit20ec1a798bbf9da9a56fe059ed4993da72f3b741 (patch)
tree3817af7ad9c59b58e59be56e4ed3f55ab195b5c7 /caputils
parent317cebe86126c44d30ddd13740dbc66f14594ff5 (diff)
downloadwireshark-20ec1a798bbf9da9a56fe059ed4993da72f3b741.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> (cherry picked from commit 2ba951b984253135ba4dced906dd56a9d487ea65) Reviewed-on: https://code.wireshark.org/review/21927
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 {
/*