Hi Zaharang, > I fixed getHostInfo() in Pbuf.c. > That function gets hostIp and ether_addr, then computes and > returns hash index. > In here, make one fake index ( actual hash size + 1), > which will contain every traffic information except registered hosts. > > When invoke getHostInfo, first search hosts if they are registered ones. > If they are not, then return the fake index. > In this method, the hash size will not increase more than > the number of the registered hosts + 1.
Ah, I see. And that works? OK, I'll try it. > I don't think i can provide the source right now, 'cuz I changed too many codes for >my testing. That's my problem, too. First, I'll do my changes and test them... afterwards I could try to integrate your idea and send the patch to Luca. > Maybe Luca can support the patch more easily. ;-) Maybe... CU, Michael -- Michael Weidel, University of Ulm, Computing Center, Network Administration EMAIL: [EMAIL PROTECTED] WWW (PGP-KEY): http://www.weidel.org/ _______________________________________________ Ntop-dev mailing list [EMAIL PROTECTED] http://listmanager.unipi.it/mailman/listinfo/ntop-dev
