diff options
author | Nick Mathewson <nickm@torproject.org> | 2006-03-05 05:27:59 +0000 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2006-03-05 05:27:59 +0000 |
commit | 6a4e304d9e613b613e208bb0f11ec44c3fc30150 (patch) | |
tree | 9bad163e3aeb3bb299223924cee4e69ae773e276 /src/or/config.c | |
parent | ae628a3aee48c0fcd76f747fc44adfbfc94c910c (diff) | |
download | tor-6a4e304d9e613b613e208bb0f11ec44c3fc30150.tar.gz tor-6a4e304d9e613b613e208bb0f11ec44c3fc30150.zip |
Allow private:* in routerdescs; not generated yet (because older Tors do not understand it); needs testing.
svn:r6086
Diffstat (limited to 'src/or/config.c')
-rw-r--r-- | src/or/config.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/or/config.c b/src/or/config.c index 08a17814a1..b97c07fb85 100644 --- a/src/or/config.c +++ b/src/or/config.c @@ -3299,7 +3299,9 @@ config_parse_addr_policy(config_line_t *cfg, log_warn(LD_CONFIG, "Address policy element '%s' can't be expressed " "as a bit prefix.", ent); } - nextp = &((*nextp)->next); + /* Advance nextp to the end of the policy. */ + while (*nextp) + nextp = &((*nextp)->next); } else { log_warn(LD_CONFIG,"Malformed policy '%s'.", ent); r = -1; |