diff options
author | Joerg Mayer <jmayer@loplof.de> | 2017-03-24 14:09:06 +0100 |
---|---|---|
committer | Jörg Mayer <jmayer@loplof.de> | 2017-03-24 13:11:46 +0000 |
commit | ceeb757cd3c869a9da3e37b62442b63c94fd4e4f (patch) | |
tree | 21233cb31ee9590bdf00abb86c05824972e3d0a0 /ui | |
parent | 5e2f72a75941c7d52359d6b66b5fedc30cceb3d1 (diff) |
Remove the last HAVE_PCAP_REMOTE inside HAVE_PCAP_REMOTE for this file.
Change-Id: I8710c235ae5377c2064097b1d7163c4cb3544fd8
Reviewed-on: https://code.wireshark.org/review/20697
Reviewed-by: Jörg Mayer <jmayer@loplof.de>
Diffstat (limited to 'ui')
-rw-r--r-- | ui/qt/manage_interfaces_dialog.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
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++) { |