diff options
Diffstat (limited to 'src/or/policies.c')
-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); |