[Devel] [ openser-Bugs-1653584 ] lcr broken on big endian platforms

Juha Heinanen jh at tutpro.com
Thu Feb 8 08:44:53 CET 2007


ovidiu,

are you proposing to change the way ip address is encoded in gw table's
ip_address column?

if so, i.e., if people need to make change to the values in ip_address
column, then a better solution would be to store ip address as a doted
string.  it was stored as an encoded unsigned int for performance
reasons in the old non-caching implementation of load_gws function.

now when there is only caching implementation of load_gws, there is no
reason anymore to keep the ip addresses binary encoded in the
database.

-- juha



More information about the Devel mailing list