--- src/knemod/interfacetooltip.cpp.orig Sat Apr 1 21:44:22 2006 +++ src/knemod/interfacetooltip.cpp Sun Apr 2 21:30:52 2006 @@ -101,6 +101,23 @@ if ( data.available ) { +#ifdef Q_OS_FREEBSD + QDictIterator it( data.addrData ); + for( ; it.current(); ++it ) + { + if ( toolTipContent & IP_ADDRESS ) + text += "" + mToolTips[4].first + "" + it.currentKey() + ""; + if ( toolTipContent & SUBNET_MASK ) + text += "" + mToolTips[5].first + "" + it.current()->subnetMask + ""; + if ( mInterface->getType() == Interface::ETHERNET ) + { + if ( toolTipContent & BCAST_ADDRESS ) + text += "" + mToolTips[18].first + "" + it.current()->broadcastAddress + ""; + } + } + if ( mInterface->getType() == Interface::ETHERNET ) + { +#else if ( toolTipContent & IP_ADDRESS ) text += "" + mToolTips[4].first + "" + data.ipAddress + ""; if ( toolTipContent & SUBNET_MASK ) @@ -109,6 +126,7 @@ { if ( toolTipContent & BCAST_ADDRESS ) text += "" + mToolTips[18].first + "" + data.broadcastAddress + ""; +#endif if ( toolTipContent & GATEWAY ) text += "" + mToolTips[19].first + "" + data.defaultGateway + ""; if ( toolTipContent & HW_ADDRESS )