diff options
author | Peter Palfrader <peter@palfrader.org> | 2008-08-14 23:01:09 +0000 |
---|---|---|
committer | Peter Palfrader <peter@palfrader.org> | 2008-08-14 23:01:09 +0000 |
commit | 41730a893ce05ef3e398f91828997b65be4ec4ea (patch) | |
tree | 636b0f4d8552e6af4b3e90f6edb2b87152bef73d /src | |
parent | ceae7ed96020cf4e4936d57367ca004ba1166147 (diff) | |
download | tor-41730a893ce05ef3e398f91828997b65be4ec4ea.tar.gz tor-41730a893ce05ef3e398f91828997b65be4ec4ea.zip |
Rename a field so weasel likes it better
svn:r16552
Diffstat (limited to 'src')
-rw-r--r-- | src/or/or.h | 2 | ||||
-rw-r--r-- | src/or/routerparse.c | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/or/or.h b/src/or/or.h index ba19817376..3849dc40c8 100644 --- a/src/or/or.h +++ b/src/or/or.h @@ -1420,7 +1420,7 @@ typedef struct routerstatus_t { uint32_t bandwidth; /**< Bandwidth (capacity) of the router as reported in * the vote/consensus, in kilobytes/sec. */ - addr_policy_action_t exitsummarytype; /**< is the list of ports a list of + addr_policy_action_t exitsummary_type; /**< is the list of ports a list of * rejected or accepted ports? */ char *exitsummary; /**< exit policy summary - * XXX weasel: this probably should not stay a string. */ diff --git a/src/or/routerparse.c b/src/or/routerparse.c index 303d129010..f5dc3ff0b7 100644 --- a/src/or/routerparse.c +++ b/src/or/routerparse.c @@ -1888,9 +1888,9 @@ routerstatus_parse_entry_from_string(memarea_t *area, if ((tok = find_first_by_keyword(tokens, K_P))) { tor_assert(tok->n_args == 2); if (!strcmp(tok->args[0], "accept")) - rs->exitsummarytype = ADDR_POLICY_ACCEPT; + rs->exitsummary_type = ADDR_POLICY_ACCEPT; else if (!strcmp(tok->args[0], "reject")) - rs->exitsummarytype = ADDR_POLICY_REJECT; + rs->exitsummary_type = ADDR_POLICY_REJECT; else { log_warn(LD_DIR, "Unknown exit policy summary type %s.", escaped(tok->args[0])); |