[Serusers] Re: LCR usage (How to enter data in gw table?)
Andres
andres at telesip.net
Tue Sep 6 18:24:36 CEST 2005
Klaus Darilion wrote:
> Andres wrote:
>
>>
>> You can convert IP address a.b.c.d to unsigned integer using:
>>
>> int = d * 224 + c * 216 + b * 28 + a
>
>
Sorry about that. Klaus is correct. I did a copy paste from somewhere
else without even reading!
Andres.
> I do not think that this will work. Try
> a+b*256+c*65536+d*16777216
>
> Or even better: Backport this patch:
> http://cvs.sourceforge.net/viewcvs.py/openser/sip-server/scripts/sc?r1=1.5&r2=1.6
>
>
> regards
> klaus
>
>
More information about the sr-users
mailing list