Remove weird check for AF_INET