From 8596d17d7f424f6a68154a537d67f1150758e5f7 Mon Sep 17 00:00:00 2001 From: Guy Harris Date: Wed, 22 May 2013 07:44:28 +0000 Subject: Pull the capture-session state information out of capture_opts and put it into a separate capture_session structure. capture_opts should contain only user-specified option information (and stuff directly derived from it, such as the "capturing from a pipe" flag). svn path=/trunk/; revision=49493 --- capture_info.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'capture_info.c') diff --git a/capture_info.c b/capture_info.c index a4c5651fd3..fdb1ead30c 100644 --- a/capture_info.c +++ b/capture_info.c @@ -75,7 +75,7 @@ static info_data_t info_data; /* open the info */ -void capture_info_open(capture_options *capture_opts) +void capture_info_open(capture_session *cap_session) { info_data.counts.total = 0; info_data.counts.sctp = 0; @@ -95,7 +95,7 @@ void capture_info_open(capture_options *capture_opts) info_data.wtap = NULL; info_data.ui.counts = &info_data.counts; - capture_info_ui_create(&info_data.ui, capture_opts); + capture_info_ui_create(&info_data.ui, cap_session); } -- cgit v1.2.1