summaryrefslogtreecommitdiff
path: root/src/or/router.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2004-12-04 01:14:36 +0000
committerNick Mathewson <nickm@torproject.org>2004-12-04 01:14:36 +0000
commitfc87758ff3a1e194df96fb6914680d451cf8fe47 (patch)
tree9562b7b31a3d89300d53c3788d49fd3f4cf2349d /src/or/router.c
parente6942686444f0e25c903213add09ae95530f2805 (diff)
downloadtor-fc87758ff3a1e194df96fb6914680d451cf8fe47.tar.gz
tor-fc87758ff3a1e194df96fb6914680d451cf8fe47.zip
Add function to check that addr_policy_t is okay; change struct addr_policy_t to addr_policy_t.
svn:r3070
Diffstat (limited to 'src/or/router.c')
-rw-r--r--src/or/router.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/or/router.c b/src/or/router.c
index fb4fe44975..0393c22361 100644
--- a/src/or/router.c
+++ b/src/or/router.c
@@ -454,7 +454,7 @@ void router_upload_dir_desc_to_dirservers(int force) {
* rule, then append the default exit policy as well.
*/
static void router_add_exit_policy_from_config(routerinfo_t *router) {
- struct addr_policy_t *ep;
+ addr_policy_t *ep;
struct config_line_t default_policy;
config_parse_addr_policy(get_options()->ExitPolicy, &router->exit_policy);
@@ -627,7 +627,7 @@ int router_dump_router_to_string(char *s, size_t maxlen, routerinfo_t *router,
size_t onion_pkeylen, identity_pkeylen;
size_t written;
int result=0;
- struct addr_policy_t *tmpe;
+ addr_policy_t *tmpe;
char *bandwidth_usage;
char *family_line;
#ifdef DEBUG_ROUTER_DUMP_ROUTER_TO_STRING