If capture_dlg_prep() finds an error, don't continue with the capture.
authorguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>
Wed, 13 Aug 2008 08:15:47 +0000 (08:15 +0000)
committerguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>
Wed, 13 Aug 2008 08:15:47 +0000 (08:15 +0000)
commit9e487cb83725444b5f38aef8de8a012f32e79850
treefa27dbc8ae6d0c56a2bf24a7f8e5040e44c3b183
parent259fdbae0c9be6c5504459a0bacb32cd5a03acad
If capture_dlg_prep() finds an error, don't continue with the capture.

Get rid of an extra g_strdup() (get_if_name() doesn't mangle its
argument and doesn't modify prefs.capture_device).

If there's no interface on which to capture, pop up a dialog to indicate
that.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@25997 f5534014-38df-0310-8fa8-9805f1628bb7
gtk/capture_dlg.c