summaryrefslogtreecommitdiff
path: root/capture_opts.h
diff options
context:
space:
mode:
authorBill Meier <wmeier@newsguy.com>2012-01-25 18:03:50 +0000
committerBill Meier <wmeier@newsguy.com>2012-01-25 18:03:50 +0000
commit36209e8773e5f6b7742e61cfe34e0281460d2cbf (patch)
tree911370c75eb43e810f41eb11ebd1a320da595988 /capture_opts.h
parent048744e701e0079a9e8a0a8fc1f94a26e1ad3507 (diff)
downloadwireshark-36209e8773e5f6b7742e61cfe34e0281460d2cbf.tar.gz
Fix error when building QtShark:
...\capture_opts.h(94) : error C2461: 'remote_host' : constructor syntax missing formal parameters svn path=/trunk/; revision=40723
Diffstat (limited to 'capture_opts.h')
-rw-r--r--capture_opts.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/capture_opts.h b/capture_opts.h
index a93ad457cc..f8ed3cd1d8 100644
--- a/capture_opts.h
+++ b/capture_opts.h
@@ -90,7 +90,7 @@ typedef enum {
} interface_type;
#ifdef HAVE_PCAP_REMOTE
-struct remote_host {
+struct remote_host_info {
gchar *remote_host; /**< Host name or network address for remote capturing */
gchar *remote_port; /**< TCP port of remote RPCAP server */
gint auth_type; /**< Authentication type */
@@ -103,7 +103,7 @@ struct remote_host {
typedef struct remote_options_tag {
capture_source src_type;
- struct remote_host remote_host_opts;
+ struct remote_host_info remote_host_opts;
#ifdef HAVE_PCAP_SETSAMPLING
capture_sampling sampling_method;
int sampling_param;