summaryrefslogtreecommitdiff
path: root/ui/qt/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'ui/qt/main.cpp')
-rw-r--r--ui/qt/main.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/ui/qt/main.cpp b/ui/qt/main.cpp
index 97bbef5db8..19679a9bb6 100644
--- a/ui/qt/main.cpp
+++ b/ui/qt/main.cpp
@@ -905,8 +905,10 @@ int main(int argc, char *argv[])
// }
// if (start_capture || list_link_layer_types) {
-// /* Did the user specify an interface to use? */
-// status = capture_opts_trim_iface(&global_capture_opts,
+// /* We're supposed to do a live capture or get a list of link-layer
+// types for a live capture device; if the user didn't specify an
+// interface to use, pick a default. */
+// status = capture_opts_default_iface_if_necessary(&global_capture_opts,
// (prefs_p->capture_device) ? get_if_name(prefs_p->capture_device) : NULL);
// if (status != 0) {
// exit(status);