[reSIProcate] Bug in DnsUtil::getInterfaces

Johannes Dohmen johannes.dohmen at web.de
Sat Nov 17 09:00:51 CST 2007


Hello dear developers,

i found a Bug in DnsUtil.cxx in the method getInterfaces(), which occurs on 64Bit architectures. Where no interface other than the local loopback is found, and therefore none is returned.
I spoke with someone in the glibc channel to make sure it's not a bug in the ioctl-call but it is not. 
After some research I (hope I) found the reason for the bug and created a fix which works with both 32 and 64bit (see attachement, I hope it works I never created a patch before). 

Greetings from germany

Johannes

-- 
() ascii ribbon campaign - against html mail 
/\
______________________________________________________________________________
Jetzt neu! Im riesigen WEB.DE Club SmartDrive Dateien freigeben und mit 
Freunden teilen! http://www.freemail.web.de/club/smartdrive_ttc.htm/?mc=021134




More information about the resiprocate-devel mailing list