254c257
< 	unsigned long rin,lin;
---
> 	in_addr_t rin,lin;
256,259c259,262
< 	rin = (unsigned long)inet_addr(rKey);
< 	lin = (unsigned long)inet_addr(lKey);
< 	if(rin == 0xffffffff) {
< 		if(lin == 0xffffffff) {
---
> 	rin = inet_addr(rKey);
> 	lin = inet_addr(lKey);
> 	if(rin == -1) {
> 		if(lin == -1) {
265c268
< 		if(lin == 0xffffffff) {
---
> 		if(lin == -1) {
