Wireshark-commits: [Wireshark-commits] rev 41491: /trunk/ /trunk/ui/gtk/: capture_dlg.c main.c /tru

Date: Sun, 11 Mar 2012 20:08:54 GMT
http://anonsvn.wireshark.org/viewvc/viewvc.cgi?view=rev&revision=41491

User: guy
Date: 2012/03/11 01:08 PM

Log:
 Don't close the currently loaded capture file in capture_start(), do so
 in its callers; when starting a capture with "wireshark -k", there's no
 capture file to close, and closing it might be provoking some UI actions
 that cause crashes on Windows.
 
 Don't copy the list of selected interfaces to the list of capture
 interfaces in capture_start(), either, do that in the callers; we were
 already doing that in one place and, in one of the remaining cases,
 namely "wireshark -k", we should do so only if no capture interfaces
 were supplied on the command line.  (I.e., the set of interfaces on
 which we want to capture depends on where in the UI the capture is being
 started.)

Directory: /trunk/ui/gtk/
  Changes    Path             Action
  +11 -0     capture_dlg.c    Modified
  +6 -0      main.c           Modified

Directory: /trunk/
  Changes    Path          Action
  +4 -6      capture.c     Modified