diff options
author | Nick Mathewson <nickm@torproject.org> | 2010-10-01 18:12:30 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2010-10-01 18:14:28 -0400 |
commit | 1bb9734e3a745e2a16b58512f47a6db1229a2b75 (patch) | |
tree | 0ad06edda894e83b3f99dc946d34555014c04ce8 /src/or/routerparse.c | |
parent | 42acef68ad6fbe462a00815fbccf94c817931e8f (diff) | |
download | tor-1bb9734e3a745e2a16b58512f47a6db1229a2b75.tar.gz tor-1bb9734e3a745e2a16b58512f47a6db1229a2b75.zip |
Implement policies for nodes (and for microdescriptors too)
Diffstat (limited to 'src/or/routerparse.c')
-rw-r--r-- | src/or/routerparse.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/routerparse.c b/src/or/routerparse.c index 665a718132..2b82e9828f 100644 --- a/src/or/routerparse.c +++ b/src/or/routerparse.c @@ -4302,7 +4302,7 @@ microdescs_parse_from_string(const char *s, const char *eos, } if ((tok = find_opt_by_keyword(tokens, K_P))) { - md->exitsummary = tor_strdup(tok->args[0]); + md->exit_policy = parse_short_policy(tok->args[0]); } crypto_digest256(md->digest, md->body, md->bodylen, DIGEST_SHA256); |