--- knemod/interfacetooltip.cpp.orig Fri Jan 21 17:51:13 2005 +++ knemod/interfacetooltip.cpp Fri Jan 21 17:59:47 2005 @@ -99,6 +99,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 ) @@ -107,6 +124,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 )