Merge commit 'origin/maint-0.2.1'

This commit is contained in:
Nick Mathewson
2009-06-08 00:01:31 -04:00
2 changed files with 7 additions and 0 deletions
+1
View File
@@ -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);