aboutsummaryrefslogtreecommitdiffstats
path: root/dumpcap.c
diff options
context:
space:
mode:
authortuexen <tuexen@f5534014-38df-0310-8fa8-9805f1628bb7>2011-05-16 15:25:33 +0000
committertuexen <tuexen@f5534014-38df-0310-8fa8-9805f1628bb7>2011-05-16 15:25:33 +0000
commit1fc157a6a6233c266adc44edb9b834f73b49b029 (patch)
tree4bf026b37e695b96f1875cd49b75bfe665a41f0a /dumpcap.c
parenta90df461b5f9d7dfbb424f2fc5c75bf46d1b6a79 (diff)
Fix compilation on windows (hopefully).
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@37179 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'dumpcap.c')
-rw-r--r--dumpcap.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/dumpcap.c b/dumpcap.c
index 552b169fce..8d00884cce 100644
--- a/dumpcap.c
+++ b/dumpcap.c
@@ -2279,12 +2279,12 @@ capture_loop_open_input(capture_options *capture_opts, loop_data *ld,
sync_msg_str = g_strdup_printf(
"Unknown sampling method %d specified,\n"
"continue without packet sampling",
- interface_opts->sampling_method);
+ interface_opts.sampling_method);
report_capture_error("Couldn't set the capture "
"sampling", sync_msg_str);
g_free(sync_msg_str);
}
- samp->value = interface_opts->sampling_param;
+ samp->value = interface_opts.sampling_param;
} else {
report_capture_error("Couldn't set the capture sampling",
"Cannot get packet sampling data structure");