diff --git a/cmakeconfig.h.in b/cmakeconfig.h.in index aa2acbc469..94c3df43be 100644 --- a/cmakeconfig.h.in +++ b/cmakeconfig.h.in @@ -385,6 +385,8 @@ However, we do need it for some headers that are shared between C and C++. */ #define _U_ ${C_UNUSED} +# define INET6 1 + #if defined(_WIN32) /* WpdPack/INclude/pcap/pcap.h checks for "#if defined(WIN32)" */ @@ -423,7 +425,7 @@ # define UNICODE 1 # define _UNICODE 1 -# define INET6 1 +/*# define INET6 1*/ # define NEED_INET_V6DEFS_H 1 # define NEED_STRPTIME_H 1 #endif diff --git a/ui/qt/capture_interfaces_dialog.cpp b/ui/qt/capture_interfaces_dialog.cpp index 14df410b3b..5cc02e8c04 100644 --- a/ui/qt/capture_interfaces_dialog.cpp +++ b/ui/qt/capture_interfaces_dialog.cpp @@ -299,6 +299,10 @@ void CaptureInterfacesDialog::UpdateInterfaces() ui->tbInterfaces->setItemDelegateForColumn(INTERFACE, &combobox_item_delegate_); output = QString(device.display_name); ui->tbInterfaces->setItem(ui->tbInterfaces->rowCount()-1, INTERFACE, new QTableWidgetItem(output)); + if (strcmp(device.addresses,"")) + ui->tbInterfaces->item(ui->tbInterfaces->rowCount()-1, INTERFACE)->setToolTip(tr("Addresses:\n%1").arg(device.addresses)); + else + ui->tbInterfaces->item(ui->tbInterfaces->rowCount()-1, INTERFACE)->setToolTip(tr("no address")); linkname = NULL; if(capture_dev_user_linktype_find(device.name) != -1) {