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

Reply via email to