aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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");