summaryrefslogtreecommitdiff
path: root/capture_opts.h
diff options
context:
space:
mode:
authorJoerg Mayer <jmayer@loplof.de>2017-03-19 12:26:28 +0100
committerJörg Mayer <jmayer@loplof.de>2017-03-19 12:27:12 +0000
commit2890e415bbec3ddad7c0485067dd09f1e503c84f (patch)
tree1500c8273b345db49f17b73a987be300290d7662 /capture_opts.h
parent74e793e8bac3013f0474fdf398608ba24506307c (diff)
downloadwireshark-2890e415bbec3ddad7c0485067dd09f1e503c84f.tar.gz
Fix various compile warnings turning error on Linux with gcc6 when
compiling with HAVE_PCAP_REMOTE (and ENABLE_ECHLD) Change-Id: If5524f2d3dcacca9c82a46167480c8436dd8b1b2 Reviewed-on: https://code.wireshark.org/review/20615 Petri-Dish: Jörg Mayer <jmayer@loplof.de> Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org> Reviewed-by: Jörg Mayer <jmayer@loplof.de>
Diffstat (limited to 'capture_opts.h')
-rw-r--r--capture_opts.h26
1 files changed, 13 insertions, 13 deletions
diff --git a/capture_opts.h b/capture_opts.h
index c5ba0e2abb..780bbca526 100644
--- a/capture_opts.h
+++ b/capture_opts.h
@@ -134,22 +134,22 @@ typedef enum {
#ifdef HAVE_PCAP_REMOTE
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 */
- gchar *auth_username; /**< Remote authentication parameters */
- gchar *auth_password; /**< Remote authentication parameters */
- gboolean datatx_udp;
- gboolean nocap_rpcap;
- gboolean nocap_local;
+ gchar *remote_host; /**< Host name or network address for remote capturing */
+ gchar *remote_port; /**< TCP port of remote RPCAP server */
+ capture_auth auth_type; /**< Authentication type */
+ gchar *auth_username; /**< Remote authentication parameters */
+ gchar *auth_password; /**< Remote authentication parameters */
+ gboolean datatx_udp;
+ gboolean nocap_rpcap;
+ gboolean nocap_local;
};
struct remote_host {
- gchar *r_host; /**< Host name or network address for remote capturing */
- gchar *remote_port; /**< TCP port of remote RPCAP server */
- gint auth_type; /**< Authentication type */
- gchar *auth_username; /**< Remote authentication parameters */
- gchar *auth_password; /**< Remote authentication parameters */
+ gchar *r_host; /**< Host name or network address for remote capturing */
+ gchar *remote_port; /**< TCP port of remote RPCAP server */
+ capture_auth auth_type; /**< Authentication type */
+ gchar *auth_username; /**< Remote authentication parameters */
+ gchar *auth_password; /**< Remote authentication parameters */
};
typedef struct remote_options_tag {