[Serdev] lcr bug that can be fixed in: mysql/val.c

Juha Heinanen jh at tutpro.com
Tue Mar 22 06:25:14 UTC 2005


Christopher Crawford writes:

 > When using the lcr module, and routing to a gateway with the last IP
 > tuple is greater than 127, it was found that the module was
 > miscalculating the IP address when the value was retrieved from the
 > database.  We switched the atoi call in mysql/str2int/val.c to atoll
 > and the problem was fixed.  Below is the proposed fix:

are you sure you used the latest 0.9.0 or head version of lcr module,
because this was fixed a few weeks ago already.

-- juha




More information about the Serdev mailing list