Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
T
Tor
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Mike Perry
Tor
Commits
4565150d
Commit
4565150d
authored
21 years ago
by
Roger Dingledine
Browse files
Options
Downloads
Patches
Plain Diff
if you tell people that IgnoreVersion exists,
some of them will use it rather than upgrade. svn:r852
parent
3b78f5cb
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/or/routers.c
+4
-2
4 additions, 2 deletions
src/or/routers.c
with
4 additions
and
2 deletions
src/or/routers.c
+
4
−
2
View file @
4565150d
...
...
@@ -506,11 +506,13 @@ int router_get_dir_from_string(char *s, crypto_pk_env_t *pkey)
return
-
1
;
}
if
(
compare_recommended_versions
(
VERSION
,
directory
->
software_versions
)
<
0
)
{
log
(
LOG_WARN
,
"You are running tor version %s, which is not recommended.
\n
Please upgrade to one of %s."
,
VERSION
,
directory
->
software_versions
);
log
(
options
.
IgnoreVersion
?
LOG_WARN
:
LOG_ERR
,
"You are running Tor version %s, which is not recommended.
\n
"
"Please upgrade to one of %s."
,
VERSION
,
directory
->
software_versions
);
if
(
options
.
IgnoreVersion
)
{
log
(
LOG_WARN
,
"IgnoreVersion is set. If it breaks, we told you so."
);
}
else
{
log
(
LOG_ERR
,
"Set IgnoreVersion config variable if you want to proceed."
);
fflush
(
0
);
exit
(
0
);
}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment