diff options
author | Nick Mathewson <nickm@torproject.org> | 2009-06-08 00:01:31 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2009-06-08 00:01:31 -0400 |
commit | 358efe1eea9be4c0e1c5e0e5e90dfb2cb0e24235 (patch) | |
tree | 443e2af2ffd827c8d4e156d325a5aed77e92fff3 /src | |
parent | 7404c936d011b9891fbe36fcb7ae4c59eace1fc7 (diff) | |
parent | 925d80ba0d70e0b22c95cfea47230c17c1bf2a13 (diff) | |
download | tor-358efe1eea9be4c0e1c5e0e5e90dfb2cb0e24235.tar.gz tor-358efe1eea9be4c0e1c5e0e5e90dfb2cb0e24235.zip |
Merge commit 'origin/maint-0.2.1'
Diffstat (limited to 'src')
-rw-r--r-- | src/or/policies.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/or/policies.c b/src/or/policies.c index cb914d11f6..d55e86c184 100644 --- a/src/or/policies.c +++ b/src/or/policies.c @@ -411,6 +411,7 @@ load_policy_from_option(config_line_t *config, smartlist_t **policy, memcpy(&newp, n, sizeof(newp)); newp.prt_min = 1; newp.prt_max = 65535; + newp.is_canonical = 0; c = addr_policy_get_canonical_entry(&newp); SMARTLIST_REPLACE_CURRENT(*policy, n, c); addr_policy_free(n); |