Juha Heinanen writes:
yes, you have to put in ip_addr field integer representation of ip address. use, for example, php's ip2long function.
after you have got the int, you still must reverse its bytes in order to get network representation of ip address that ser is using.
-- juha