check_inet_addr
else if (check_inet_addr(pat) && check_inet_addr(mask))
else if (check_inet_addr(pat) &&
static int check_inet_addr(char *);