summaryrefslogtreecommitdiff
path: root/changes
diff options
context:
space:
mode:
authorLinus Nordberg <linus@torproject.org>2012-08-23 12:23:00 +0200
committerLinus Nordberg <linus@torproject.org>2012-08-23 22:13:12 +0200
commit3410a46ebc7870c1ded14ef34a8e96f0a48b3994 (patch)
tree71ce013845d4f55893da3508e904d2c256badb25 /changes
parent5b0ed1e344f47a584d529221fb9d39e54715732c (diff)
downloadtor-3410a46ebc7870c1ded14ef34a8e96f0a48b3994.tar.gz
tor-3410a46ebc7870c1ded14ef34a8e96f0a48b3994.zip
Move ipv6_preferred from routerinfo_t to node_t.
Move extend_info_from_router() from circuitbuild.c to router.c and make it static. Add get_configured_bridge_by_orports_digest() and have get_configured_bridge_by_routerinfo() and node_is_a_configured_bridge() use it. We now consider all OR ports of a bridge when looking for it. Move node_get_*_orport to nodelist.c. Fix a cut'n'paste error in header of nodelist.h. Add node_assert_ok(). Add router_get_all_orports(). It's duplicating code from node_get_all_orports(). Worth fixing at the cost of complicating the API slightly?
Diffstat (limited to 'changes')
-rw-r--r--changes/bug46203
1 files changed, 3 insertions, 0 deletions
diff --git a/changes/bug4620 b/changes/bug4620
new file mode 100644
index 0000000000..05bc8bc1b4
--- /dev/null
+++ b/changes/bug4620
@@ -0,0 +1,3 @@
+ o Code simplifications and refactoring
+ - Move ipv6_preferred from routerinfo_t to node_t.
+ Addresses bug 4620.