aboutsummaryrefslogtreecommitdiffstats
path: root/dumpcap.c
diff options
context:
space:
mode:
authorMichael Tüxen <tuexen@fh-muenster.de>2011-05-16 15:25:33 +0000
committerMichael Tüxen <tuexen@fh-muenster.de>2011-05-16 15:25:33 +0000
commit64297b9be011997b5192d917e1507033ad60ccec (patch)
tree4bf026b37e695b96f1875cd49b75bfe665a41f0a /dumpcap.c
parent70ae440e158c316e7727af731a9e9af58febf955 (diff)
Fix compilation on windows (hopefully).
svn path=/trunk/; revision=37179
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");