Hi Ming-Yu,

This, this is possible. I tought that nobody was going to have the exact required numbers to collide with another.

In a future version I'll try to move the index to the remote IP directly, as now we can use non-numbers as indexes.

Javier

Ming-Yu Hsieh wrote:
Hi,

I have noticed that there were some bgp peers weren't detect while doing manual discovery, therefore i started looking why and found that the $ip_index calculation give the same value for different IPs.

46 //calculate the index, unique for each remote ip
47 foreach (explode(".",$aux1["remote"]) as $ip_key_aux)
48     $ip_index += $ip_key_aux*++$a;

eg,
213.161.78.217
62.249.255.78
195.66.226.158

they all give the ip_index of 1637

Can you have a look if this is right ?

Thanks

Ming-Yu Hsieh
Entanet International Ltd.
http://www.enta.net/





-------------------------------------------------------
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
_______________________________________________
jffnms-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jffnms-users

-- =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Javier Szyszlican, Project Leader, JFFNMS [EMAIL PROTECTED]

I hope JFFNMS or I were helpful to you, if you
can, please donate at http://jffnms.org/donate



-------------------------------------------------------
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
_______________________________________________
jffnms-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jffnms-users

Reply via email to