From ceeb757cd3c869a9da3e37b62442b63c94fd4e4f Mon Sep 17 00:00:00 2001 From: Joerg Mayer Date: Fri, 24 Mar 2017 14:09:06 +0100 Subject: Remove the last HAVE_PCAP_REMOTE inside HAVE_PCAP_REMOTE for this file. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: I8710c235ae5377c2064097b1d7163c4cb3544fd8 Reviewed-on: https://code.wireshark.org/review/20697 Reviewed-by: Jörg Mayer --- ui/qt/manage_interfaces_dialog.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'ui/qt/manage_interfaces_dialog.cpp') diff --git a/ui/qt/manage_interfaces_dialog.cpp b/ui/qt/manage_interfaces_dialog.cpp index 967f7207a9..e277f980fc 100644 --- a/ui/qt/manage_interfaces_dialog.cpp +++ b/ui/qt/manage_interfaces_dialog.cpp @@ -265,7 +265,7 @@ void ManageInterfacesDialog::remoteSelectionChanged(QTreeWidgetItem*, int) updateWidgets(); } -void ManageInterfacesDialog::updateRemoteInterfaceList(GList* rlist, remote_options *roptions) +void ManageInterfacesDialog::updateRemoteInterfaceList(GList* rlist, remote_options* roptions) { GList *if_entry, *lt_entry; if_info_t *if_info; @@ -346,12 +346,10 @@ void ManageInterfacesDialog::updateRemoteInterfaceList(GList* rlist, remote_opti } device.cfilter = g_strdup(global_capture_opts.default_options.cfilter); monitor_mode = prefs_capture_device_monitor_mode(if_string); -#ifdef HAVE_PCAP_REMOTE if (roptions->remote_host_opts.auth_type == CAPTURE_AUTH_PWD) { auth_str = g_strdup_printf("%s:%s", roptions->remote_host_opts.auth_username, roptions->remote_host_opts.auth_password); } -#endif caps = capture_get_if_capabilities(if_string, monitor_mode, auth_str, NULL, main_window_update); g_free(auth_str); for (; (curr_addr = g_slist_nth(if_info->addrs, ips)) != NULL; ips++) { -- cgit v1.2.1