[Serusers] lcr module

Sebastian Kühner skuehner at veraza.com
Thu Aug 18 16:35:05 CEST 2005


I have a problem with the lcr module if a gateway has "big" IP Address.

I calculate the integer of the IP like this:

a.b.c.d ==> IP-Integer = d*pow(2,24) + c*pow(2,26) + b*pow(2,8) + a

If the d-value is very big (100 or more), the resulting IP Address doesn't
work anymore. What is the greatest that an integer can have?

I use postgres with this module. I hope that this won't be a problem!



More information about the sr-users mailing list