mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-12-06 19:41:15 +01:00
Note that a descriptor has changed when we receive a new directory.
svn:r4855
This commit is contained in:
@@ -371,6 +371,10 @@ dirserv_add_descriptor(const char **desc, const char **msg)
|
||||
if (router_add_to_routerlist(ri, msg)) {
|
||||
return -1;
|
||||
} else {
|
||||
smartlist_t *changed = smartlist_create();
|
||||
smartlist_add(changed, ri);
|
||||
control_event_descriptors_changed(changed);
|
||||
smartlist_free(changed);
|
||||
return ri->is_verified ? 1 : 0;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user