Treat INADDR_NONE as uint32_t.

Reviewed by:	glebius
Use INADDR_NONE instead of -1 to check inet_addr() result.

Reviewed by:	glebius