aboutsummaryrefslogtreecommitdiffstats
path: root/capchild/capture_sync.c
diff options
context:
space:
mode:
authorStig Bjørlykke <stig@bjorlykke.org>2019-11-07 11:35:47 +0000
committerRoland Knall <rknall@gmail.com>2019-11-07 12:53:47 +0000
commitabfa0d6218108a14898778b7142c55a27d42b298 (patch)
tree75cbd81fa736b30f4e02969f3d2c4ac7953fba45 /capchild/capture_sync.c
parentf75f128462512a6c4efa9345af631d680808c1a6 (diff)
Qt: Keep extcap control channels when capturing to multiple files
When using the "Create a new file automatically" feature the capture in Wireshark will stop and start, but the extcap utility will continue run as normal. Ensure the control channels are kept when doing this. Rename the unused capture_session.session_started to session_will_restart to detect this. Bug: 16178 Change-Id: I6797c982760a1013fca2a24699befff1dc82f28c Reviewed-on: https://code.wireshark.org/review/35013 Petri-Dish: Stig Bjørlykke <stig@bjorlykke.org> Tested-by: Petri Dish Buildbot Reviewed-by: Roland Knall <rknall@gmail.com>
Diffstat (limited to 'capchild/capture_sync.c')
-rw-r--r--capchild/capture_sync.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/capchild/capture_sync.c b/capchild/capture_sync.c
index d2ed2ee75a..ca59d9711e 100644
--- a/capchild/capture_sync.c
+++ b/capchild/capture_sync.c
@@ -128,7 +128,7 @@ capture_session_init(capture_session *cap_session, capture_file *cf)
cap_session->group = getgid();
#endif
cap_session->count = 0;
- cap_session->session_started = FALSE;
+ cap_session->session_will_restart = FALSE;
}
/* Append an arg (realloc) to an argc/argv array */