Loading changes/bug1899_test_changed_addr 0 → 100644 +4 −0 Original line number Diff line number Diff line o Minor features - When a router changes IP or port, authorities now launch a new reachability test for it. (Implements ticket 1899) src/or/dirserv.c +4 −0 Original line number Diff line number Diff line Loading @@ -3136,6 +3136,10 @@ dirserv_should_launch_reachability_test(routerinfo_t *ri, routerinfo_t *ri_old) /* It just came out of hibernation; launch a reachability test */ return 1; } if (ri_old->addr != ri->addr || ri_old->or_port != ri->or_port) { /* Address or port changed; launch a reachability test */ return 1; } return 0; } Loading Loading
changes/bug1899_test_changed_addr 0 → 100644 +4 −0 Original line number Diff line number Diff line o Minor features - When a router changes IP or port, authorities now launch a new reachability test for it. (Implements ticket 1899)
src/or/dirserv.c +4 −0 Original line number Diff line number Diff line Loading @@ -3136,6 +3136,10 @@ dirserv_should_launch_reachability_test(routerinfo_t *ri, routerinfo_t *ri_old) /* It just came out of hibernation; launch a reachability test */ return 1; } if (ri_old->addr != ri->addr || ri_old->or_port != ri->or_port) { /* Address or port changed; launch a reachability test */ return 1; } return 0; } Loading